ceph-csi/vendor/github.com/hpcloud/tail/ratelimiter/storage.go

7 lines
133 B
Go
Raw Normal View History

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