contextkeys

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextKeys

type ContextKeys string

ContextKeys is a context key

const (
	// XRequestID is the context key when you want to get the current request id
	XRequestID ContextKeys = "X-REQUEST-ID"

	// UserIDContextKey is the context key to obtain the current user id using the API
	UserIDContextKey ContextKeys = "USER_IDENTIFICATION"
)

Jump to

Keyboard shortcuts

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