Documentation ¶
Index ¶
- func HTTPResponseTraceInjection(handler http.Handler) http.Handler
- func SetChain(router http.Handler, middleware ...func(http.Handler) http.Handler) http.Handler
- func SetRouteChain(handler http.HandlerFunc, next ...func(http.HandlerFunc) http.HandlerFunc) http.HandlerFunc
- type HTTPRequestLogger
- type Recovery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetRouteChain ¶
func SetRouteChain(handler http.HandlerFunc, next ...func(http.HandlerFunc) http.HandlerFunc) http.HandlerFunc
Types ¶
type HTTPRequestLogger ¶
func NewHTTPRequestLogger ¶
func NewHTTPRequestLogger(logger *logrus.Logger, debug bool, statusCode ...int) HTTPRequestLogger
Click to show internal directories.
Click to hide internal directories.