tail/ratelimiter/storage.go

7 lines
133 B
Go
Raw Permalink Normal View History

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