Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware struct {
Deps *module.Dependencies
}
Middleware is a container for module.Deps and factory for MiddlewareHandle
func NewMiddleware ¶
func NewMiddleware(deps *module.Dependencies) Middleware
NewMiddleware is a factory method for the struct
func (*Middleware) NewMiddlewareHandle ¶
func (m *Middleware) NewMiddlewareHandle(o handle.Options) zanzibar.MiddlewareHandle
NewMiddlewareHandle calls back to the custom middleware to build a MiddlewareHandle
Click to show internal directories.
Click to hide internal directories.