Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidUser = errors.New("Invalid user") ErrInvalidCredentials = errors.New("Invalid credentials") )
Functions ¶
func SetupAuthHandler ¶
func SetupAuthHandler(config *config.AuthConfig, next http.Handler) (http.HandlerFunc, error)
SetupAuthHandler returns a handler which implements the given AuthConfig object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.