handler

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL