07572e85f5
Signed-off-by: Ryan Cole <rcyoalne@gmail.com>
6 lines
133 B
Go
6 lines
133 B
Go
package ratelimiter
|
|
|
|
type Storage interface {
|
|
GetBucketFor(string) (*LeakyBucket, error)
|
|
SetBucketFor(string, LeakyBucket) error
|
|
}
|