forked from cerc-io/ipld-eth-server
7 lines
133 B
Go
7 lines
133 B
Go
|
package ratelimiter
|
||
|
|
||
|
type Storage interface {
|
||
|
GetBucketFor(string) (*LeakyBucket, error)
|
||
|
SetBucketFor(string, LeakyBucket) error
|
||
|
}
|