Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Set ¶
func Set(config *Middlewares)
Types ¶
type Middleware ¶
type Middleware interface {
Process(ctx *types.RequestCtx, handler types.RequestHandler) any
}
type Middlewares ¶
type Middlewares struct { Http []Middleware WS []Middleware }
func Get ¶
func Get() *Middlewares
Click to show internal directories.
Click to hide internal directories.