examplereader

package
v0.0.0-...-78da9c4 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: MIT Imports: 6 Imported by: 0

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{}

MiddlewareState accessible by other middlewares and endpoint handler though the context object.

type Options

type Options struct {
	Foo string `json:"Foo"` // string to verify in shared
}

Options for middleware configuration

Jump to

Keyboard shortcuts

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