github.com/BGrewell/tail@v1.0.1-0.20210309152823-689d25348e0e/ratelimiter/storage.go (about) 1 package ratelimiter 2 3 type Storage interface { 4 GetBucketFor(string) (*LeakyBucket, error) 5 SetBucketFor(string, LeakyBucket) error 6 }