560305f601
- uses newer version of go-ethereum required for go1.11
7 lines
133 B
Go
7 lines
133 B
Go
package ratelimiter
|
|
|
|
type Storage interface {
|
|
GetBucketFor(string) (*LeakyBucket, error)
|
|
SetBucketFor(string, LeakyBucket) error
|
|
}
|