examplemiddleware

package
v0.0.0-...-2992608 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2022 License: MIT Imports: 3 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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