exampletchannel

package
v2.0.17 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 5 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.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