middleware

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const AccountIDHeaderName = "X-Account-ID"
View Source
const EmailHeaderName = "X-E-Mail"
View Source
const FirstNameHeaderName = "X-First-Name"
View Source
const InternalHeaderName = "X-Internal"
View Source
const LastNameHeaderName = "X-Last-Name"
View Source
const RequestIDGatewayHeaderName = "eg-request-id"
View Source
const RequestIDHeaderName = "X-Request-ID"
View Source
const RolesHeaderName = "X-Roles"
View Source
const SubTypeHeaderName = "X-Sub-Type"
View Source
const TypeHeaderName = "X-Type"
View Source
const UserIDHeaderName = "X-User-ID"

Variables

This section is empty.

Functions

func LoggingHandler

func LoggingHandler(handler http.Handler, skipEndpoint ...string) http.Handler

func Metadata

func Metadata(handler http.Handler) http.Handler

func Prometheus

func Prometheus(handler http.Handler, endpoint string) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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