Documentation
¶
Index ¶
- Variables
- func AuthnMiddleware(constTenant string) mux.MiddlewareFunc
- func ContentTypeJSONMiddleware(next http.Handler) http.Handler
- func ErrBadRequest(err error) error
- func ErrNotFound(err error) error
- func RequestResponseMiddleware(logger log.Logger) func(Request) http.HandlerFunc
- type Request
- type ResponseWrapper
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthenticateUser = middleware.AuthenticateUser
Functions ¶
func AuthnMiddleware ¶
func AuthnMiddleware(constTenant string) mux.MiddlewareFunc
func ErrBadRequest ¶
func ErrNotFound ¶
func RequestResponseMiddleware ¶
func RequestResponseMiddleware(logger log.Logger) func(Request) http.HandlerFunc
Types ¶
type ResponseWrapper ¶
Click to show internal directories.
Click to hide internal directories.