middleware

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authorizer

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

func NewAuthorizer

func NewAuthorizer(a *authz.Authz) *Authorizer

func (*Authorizer) Authorize

func (a *Authorizer) Authorize(next http.Handler) http.Handler

type TraceInitializer

type TraceInitializer struct{}

func NewTracer

func NewTracer() *TraceInitializer

func (*TraceInitializer) Initialize

func (t *TraceInitializer) Initialize(next http.Handler) http.Handler

Jump to

Keyboard shortcuts

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