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" )
Click to show internal directories.
Click to hide internal directories.