Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmptyKeyError ¶
type EmptyKeyError struct {
// contains filtered or unexported fields
}
A EmptyKeyError signifies that the request does not contain enough information to create a key.
func (EmptyKeyError) Error ¶
func (eke EmptyKeyError) Error() string
type LimitKey ¶
A LimitKey returns a string key based on the request for creating bucketnames.
func NewGlobalLimitKey ¶ added in v0.7.2
NewGlobalLimitKey creates a slice of globalLimitKeys that always returns the same key
func NewHeaderLimitKeys ¶
NewHeaderLimitKeys creates a slice of headerLimitKeys that keys on the named request header
func NewIPLimitKeys ¶
NewIPLimitKeys creates a slice of ipLimitKeys that returns a key based on request remoteaddr
Click to show internal directories.
Click to hide internal directories.