middleware

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const AccountIDHeaderName = "X-Account-ID"
View Source
const AccountIDsHeaderName = "X-Account-IDs"
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 M2MHeaderName = "X-M2M"
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