storage.go 133 B

123456
  1. package ratelimiter
  2. type Storage interface {
  3. GetBucketFor(string) (*LeakyBucket, error)
  4. SetBucketFor(string, LeakyBucket) error
  5. }