Browse Source

fix type of txn duration

Alan Shreve 12 years ago
parent
commit
7a4a6f426d
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/ngrok/client/views/web/http.go

+ 1 - 2
src/ngrok/client/views/web/http.go

@@ -15,13 +15,12 @@ import (
 	"ngrok/proto"
 	"ngrok/util"
 	"strings"
-	"time"
 	"unicode/utf8"
 )
 
 type SerializedTxn struct {
 	Id             string
-	Duration       time.Duration
+	Duration       int64
 	*proto.HttpTxn `json:"-"`
 	Req            SerializedRequest
 	Resp           SerializedResponse