Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator interface { // Authenticate returns a function that wraps the provided handler with // authentication capability Authenticate(HandlerFunction) HandlerFunction }
Authenticator is an interface to be implemented by any component capable of authenticating HTTP requests
type HandlerFunction ¶
type HandlerFunction func(http.ResponseWriter, *http.Request)
HandlerFunction is the signature of any function that can handle an HTTP request
Click to show internal directories.
Click to hide internal directories.