Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware func(handlerFunc http.HandlerFunc) http.HandlerFunc
type Service ¶
type Service interface {
WrapHandlerWithMiddlewares(
handlerFunc http.HandlerFunc,
middlewares ...Middleware,
) http.HandlerFunc
LoggingMiddleware(next http.HandlerFunc) http.HandlerFunc
PanicRecovery(next http.HandlerFunc) http.HandlerFunc
}
func NewMiddlewareService ¶
func NewMiddlewareService() Service
Click to show internal directories.
Click to hide internal directories.