ctxkey

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 0 Imported by: 0

README

APP Contants - Go Context Key

Documentation

Index

Constants

View Source
const (
	REGISTRY_APP            = CtxKey("REGISTRY:APP")
	REGISTRY_APP_CONFIG     = CtxKey("REGISTRY:APP_CONFIG")
	REGISTRY_APP_DEPENDENCY = CtxKey("REGISTRY:APP_DEPENDENCY")
	REGISTRY_APP_REPOSITORY = CtxKey("REGISTRY:APP_REPOSITORY")
	REGISTRY_APP_SERVICE    = CtxKey("REGISTRY:APP_SERVICE")
	REGISTRY_APP_PROVIDER   = CtxKey("REGISTRY:APP_PROVIDER")
	REGISTRY_APP_LOGGER     = CtxKey("REGISTRY:APP_LOGGER")
	REGISTRY_APP_TRACER     = CtxKey("REGISTRY:APP_TRACER")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CtxKey

type CtxKey string

func (CtxKey) String

func (c CtxKey) String() string

type RequestID

type RequestID int

Key to use when setting the request ID.

const RequestIDKey RequestID = 0

RequestIDKey is the key that holds the unique request ID in a request context.

Jump to

Keyboard shortcuts

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