package
0.0.0-20161206215253-723534742ba3
Repository: https://github.com/carbocation/interpose.git
Documentation: pkg.go.dev
# Functions
Basic returns a Handler that authenticates via Basic Auth.
BasicAuthFunc returns a Handler that authenticates via Basic Auth using the provided function.
Middleware that buffers all http output.
Wraps the Gorilla Logger
*/.
Middleware that sends an application/json header
*/.
No description provided by the author
No description provided by the author
Nosurf is a wrapper for justinas' csrf protection middleware.
SecureCompare performs a constant time compare of two strings to limit timing attacks.
# Variables
BasicRealm is used when setting the WWW-Authenticate response header.
# Type aliases
User is the authenticated username that was extracted from the request.