constant

package
v0.0.0-...-9391566 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TokenKeyCtxKey = &contextKey{"token_key"}
View Source
var UserCtxKey = &contextKey{"user"}

Functions

This section is empty.

Types

type Environment

type Environment string

Environment is the enumeration for the various runtime environments

const (
	EnvironmentLocal Environment = "LOCAL"
	EnvironmentTest  Environment = "TEST"
	EnvironmentDev   Environment = "DEV"
	EnvironmentProd  Environment = "PROD"
)

type Service

type Service string

Service is the name of services we use

const (
	Api Service = "API"
	DB  Service = "DB"
)

Jump to

Keyboard shortcuts

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