middlewares

package
v5.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddInfoLocationToContext

func AddInfoLocationToContext(next http.Handler) http.Handler

func AddOriginatingIdentityToContext

func AddOriginatingIdentityToContext(next http.Handler) http.Handler

Types

type APIVersionMiddleware

type APIVersionMiddleware struct {
	LoggerFactory lager.Logger
}

func (APIVersionMiddleware) ValidateAPIVersionHdr

func (m APIVersionMiddleware) ValidateAPIVersionHdr(next http.Handler) http.Handler

type ErrorResponse

type ErrorResponse struct {
	Description string
}

Jump to

Keyboard shortcuts

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