Browse Source

Switch back to rcrowley/go-metrics

The incompatibility with Windows has been fixed by this pull request:
 https://github.com/rcrowley/go-metrics/pull/8
Vincent Bernat 11 years ago
parent
commit
b3d4e33790

+ 1 - 1
src/ngrok/client/metrics.go

@@ -1,7 +1,7 @@
 package client
 
 import (
-	metrics "github.com/inconshreveable/go-metrics"
+	metrics "github.com/rcrowley/go-metrics"
 )
 
 const (

+ 1 - 1
src/ngrok/client/model.go

@@ -3,7 +3,7 @@ package client
 import (
 	"crypto/tls"
 	"fmt"
-	metrics "github.com/inconshreveable/go-metrics"
+	metrics "github.com/rcrowley/go-metrics"
 	"io/ioutil"
 	"math"
 	"ngrok/client/mvc"

+ 1 - 1
src/ngrok/client/mvc/state.go

@@ -1,7 +1,7 @@
 package mvc
 
 import (
-	metrics "github.com/inconshreveable/go-metrics"
+	metrics "github.com/rcrowley/go-metrics"
 	"ngrok/proto"
 )
 

+ 1 - 1
src/ngrok/proto/http.go

@@ -2,7 +2,7 @@ package proto
 
 import (
 	"bytes"
-	metrics "github.com/inconshreveable/go-metrics"
+	metrics "github.com/rcrowley/go-metrics"
 	"io"
 	"io/ioutil"
 	"net/http"

+ 1 - 1
src/ngrok/server/metrics.go

@@ -4,7 +4,7 @@ import (
 	"bytes"
 	"encoding/json"
 	"fmt"
-	gometrics "github.com/inconshreveable/go-metrics"
+	gometrics "github.com/rcrowley/go-metrics"
 	"io/ioutil"
 	"net/http"
 	"ngrok/conn"