defaultexample2middleware

package
Version: v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: MIT Imports: 3 Imported by: 56

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