status-go/vendor/github.com/tsenart/tb/tb.go

5 lines
192 B
Go
Raw Normal View History

// Package tb provides a generic lock-free implementation of the
// Token Bucket algorithm where non-conformity is handled by the user.
// http://en.wikipedia.org/wiki/Token_bucket
package tb