constants

package
v0.0.0-...-d5841c9 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

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"

Jump to

Keyboard shortcuts

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