sentinel

package
v1.8.0-rc.6 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Middleware

type Middleware struct {
	// contains filtered or unexported fields
}

Middleware is an sentinel middleware.

func NewMiddleware

func NewMiddleware(logger logger.Logger) *Middleware

NewMiddleware returns a new sentinel middleware.

func (*Middleware) GetHandler

GetHandler returns the HTTP handler provided by sentinel middleware.

Jump to

Keyboard shortcuts

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