tail/ratelimiter/storage.go

7 lines
133 B
Go

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