package
0.0.0-20180826133702-85b7a6991cd5
Repository: https://github.com/qjw/kelly.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Basic returns a Handler that authenticates via Basic Auth.
BasicFunc returns a Handler that authenticates via Basic Auth using the provided function.
New returns the location middleware with user-defined custom configuration.
Middleware validates CSRF token.
Default returns the location middleware with default configuration.
DefaultConfig returns a generic default configuration mapped to localhost.
No description provided by the author
GetToken returns a CSRF token.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A throttling Policy Takes two arguments, one required: First is a Quota (A Limit with an associated time).
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

BasicRealm is used when setting the WWW-Authenticate response header.

# Structs

Config represents all available options for the middleware.
CsrfConfig stores configurations for a CSRF middleware.
The Quota is Request Rates per Time for a given policy.
Options is a struct for specifying configuration options for the secure.
No description provided by the author

# Interfaces

No description provided by the author
KeyValueStorer is the required interface for the Store Option This should allow for either drop-in replacement with compatible libraries, or easy write-up of adapters.

# Type aliases

Error Type for the key value store.
No description provided by the author