diff options
Diffstat (limited to 'Godeps/_workspace/src/github.com/rcrowley/go-metrics/opentsdb_test.go')
-rw-r--r-- | Godeps/_workspace/src/github.com/rcrowley/go-metrics/opentsdb_test.go | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Godeps/_workspace/src/github.com/rcrowley/go-metrics/opentsdb_test.go b/Godeps/_workspace/src/github.com/rcrowley/go-metrics/opentsdb_test.go deleted file mode 100644 index 6173d61ab..000000000 --- a/Godeps/_workspace/src/github.com/rcrowley/go-metrics/opentsdb_test.go +++ /dev/null @@ -1,22 +0,0 @@ -package metrics - -import ( - "net" - "time" -) - -func ExampleOpenTSDB() { - addr, _ := net.ResolveTCPAddr("net", ":2003") - go OpenTSDB(DefaultRegistry, 1*time.Second, "some.prefix", addr) -} - -func ExampleOpenTSDBWithConfig() { - addr, _ := net.ResolveTCPAddr("net", ":2003") - go OpenTSDBWithConfig(OpenTSDBConfig{ - Addr: addr, - Registry: DefaultRegistry, - FlushInterval: 1 * time.Second, - DurationUnit: time.Millisecond, - }) -} - |