Documentation ¶ Index ¶ func Wrap(ctx ctx.Context, logger *zerolog.Logger, jwtCfg *context.JWTConfig, ...) func(http.ResponseWriter, *http.Request, httprouter.Params) type Handler func WSWrap(wsHandler WSHandler) Handler type WSHandler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Wrap ¶ func Wrap(ctx ctx.Context, logger *zerolog.Logger, jwtCfg *context.JWTConfig, container *bean.Container, handler Handler) func(http.ResponseWriter, *http.Request, httprouter.Params) Types ¶ type Handler ¶ type Handler func(*context.LuxContext) error func WSWrap ¶ added in v0.2.1 func WSWrap(wsHandler WSHandler) Handler type WSHandler ¶ added in v0.2.1 type WSHandler func(*context.WSContext) error Source Files ¶ View all Source files handler.go Click to show internal directories. Click to hide internal directories.