Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMiddleware ¶
func NewMiddleware( deps *module.Dependencies, options Options, ) zanzibar.MiddlewareHandle
NewMiddleware creates a new middleware that executes the next middleware after performing it's operations.
Types ¶
type MiddlewareState ¶
type MiddlewareState struct {
Baz string
}
MiddlewareState accessible by other middlewares and endpoint handler though the context object.
Click to show internal directories.
Click to hide internal directories.