Documentation
¶
Overview ¶
Package constants stores a list of variables that are used throughout the code
Index ¶
Constants ¶
View Source
const DefaultDBName = "cms"
the default database to use, if none is found in the configurations
View Source
const SettingsCollectionName = "settings"
the name of the collection for storing settings
View Source
const StaffCollectionName = "staff"
the name for staff mongodb collections
View Source
const StaffRefreshTokenCollection = "staff_refresh_tokens"
the name of the mongodb collection for refresh tokens
View Source
const VIPER_DB_NAME = "MONGO_DB_NAME"
The name of the viper config key for the MongoDB database to use for the CMS DATA
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextKey ¶
type ContextKey string
const BearerAuthorizationHeader ContextKey = "BearerAuthorizationHeader"
const CurrentlyAuthenticatedUserContextKey ContextKey = "CURRENT_USER_CONTEXT_KEY"
Click to show internal directories.
Click to hide internal directories.