dnscrypt-proxy/vendor/github.com/nxadm/tail/ratelimiter/storage.go
2022-07-21 18:50:10 +02:00

6 lines
133 B
Go

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