defaultexample2middleware

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2019 License: MIT Imports: 3 Imported by: 167

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