Documentation ¶
Index ¶
- type Auth
- func (a *Auth) Process(w http.ResponseWriter, r *http.Request, route string) (string, error)
- func (a *Auth) RouterHandler(h httprouter.Handle) httprouter.Handle
- func (a *Auth) SetAuthErrorHandler(handler http.Handler)
- func (a *Auth) SetReqHeaderIdentifier(ident string)
- func (a *Auth) SetReqHeaders(set bool)
- func (a *Auth) ValidateRequest(r *http.Request) error
- type AuthHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
Auth is an instance of the middleware
func (*Auth) RouterHandler ¶
func (a *Auth) RouterHandler(h httprouter.Handle) httprouter.Handle
func (*Auth) SetAuthErrorHandler ¶
func (*Auth) SetReqHeaderIdentifier ¶
func (*Auth) SetReqHeaders ¶
Click to show internal directories.
Click to hide internal directories.