(identifier string)
| 24 | // RateLimiterStore is the interface to be implemented by custom stores. |
| 25 | type RateLimiterStore interface { |
| 26 | Allow(identifier string) (bool, error) |
| 27 | } |
| 28 | |
| 29 | // RateLimiterStoreContext is an optional interface a RateLimiterStore may implement. |
no outgoing calls