summaryrefslogtreecommitdiff
path: root/vendor/github.com/nxadm/tail/ratelimiter/storage.go
blob: 89b2fe8826e05c64c615d0f83318df1e9358d417 (plain)
1
2
3
4
5
6
package ratelimiter

type Storage interface {
	GetBucketFor(string) (*LeakyBucket, error)
	SetBucketFor(string, LeakyBucket) error
}