We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fdd2fa commit e0a97d7Copy full SHA for e0a97d7
2 files changed
README.md
@@ -34,6 +34,7 @@ func main() {
34
35
// limit reads to 100 bytes/sec, unlimited writes
36
lim := bwlimit.NewLimiter(100, 0)
37
+ defer lim.Stop()
38
39
// wrap the default http transport DialContext
40
tp := http.DefaultTransport.(*http.Transport)
example_test.go
@@ -19,6 +19,7 @@ func ExampleLimiter_NewLimiter() {
19
20
21
22
23
24
25
0 commit comments