Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DefaultPrefix is the default prefix to use for the key in the store.
DefaultPrefix = "limiter"
)
Variables ¶
View Source
var ( // ErrInvalidPolicy is used when an invalid policy was provided ErrInvalidPolicy = errors.New(http.StatusBadRequest, "policy is not supported") )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.