Skip to content
This repository was archived by the owner on Jan 21, 2019. It is now read-only.

Commit 3ef3a87

Browse files
committed
add readme
1 parent 6ab5a35 commit 3ef3a87

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ client.Count('a.b.c', 42, 0.7) # set count metric and send it to StatsD
2626
Creating buffered client:
2727

2828
```go
29-
client := NewBufferedClient("127.0.0.1", 9876) # create client
30-
client.Open() # open connection to StatsD
31-
client.Count('a.b.c', 42, 0.7) # set count metric and add it to buffer
32-
client.Timing('a.b.d', 43) # set timing metric and add it to buffer
33-
client.Flush() # send all metrics as one packet to StatsD
29+
client := NewBufferedClient("127.0.0.1", 9876) # create client
30+
client.Open() # open connection to StatsD
31+
client.Count('a.b.c', 42, 0.7) # set count metric and add it to buffer
32+
client.Timing('a.b.d', 43) # set timing metric and add it to buffer
33+
client.Flush() # send all metrics as one packet to StatsD
3434
```

0 commit comments

Comments
 (0)