Documentation ¶
Index ¶
Constants ¶
View Source
const ( PRODUCTION = "production" DEVELOPMENT = "development" LOCAL = "local" )
View Source
const ( FORMAT_DATE = "2006-01-02" FORMAT_DATETIME = "2006-01-02 15:04:05" LOG_FOLDER = "storage/logs" )
View Source
const ( APP_NAME = "APP_NAME" APP_ENV = "APP_ENV" APP_DEBUG = "APP_DEBUG" APP_PORT = "APP_PORT" APP_URL = "APP_URL" DB_HOST = "DB_HOST" DB_PORT = "DB_PORT" DB_USER = "DB_USER" DB_PASS = "DB_PASS" DB_NAME = "DB_NAME" SENTRY_DSN = "SENTRY_DSN" NEWRELIC_ENABLED = "NEWRELIC_ENABLED" NEWRELIC_APP_NAME = "NEWRELIC_APP_NAME" NEWRELIC_LICENSE = "NEWRELIC_LICENSE" REDIS_HOST = "REDIS_HOST" REDIS_PORT = "REDIS_PORT" REDIS_PASSWORD = "REDIS_PASSWORD" REDIS_DB = "REDIS_DB" HEALTHCHECK_URL = "HEALTHCHECK_URL" JWT_SECRET = "JWT_SECRET" )
Environment Variable Constant Put env name in here to prevent typo
View Source
const (
// In minutes
JWT_DEFAULT_TTL = 60
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.