exampletchannel

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: MIT Imports: 5 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMiddleware

func NewMiddleware(
	deps *module.Dependencies,
	options Options,
) zanzibar.MiddlewareTchannelHandle

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