Documentation ¶
Index ¶
Constants ¶
View Source
const ( BROKER_RABBITMQ_URI = "CODEXGO_BROKER_RABBITMQ_URI" BROKER_RABBITMQ_NAME = "CODEXGO_BROKER_RABBITMQ_NAME" DATABASE_MONGODB_URI = "CODEXGO_DATABASE_MONGODB_URI" DATABASE_MONGODB_NAME = "CODEXGO_DATABASE_MONGODB_NAME" DATABASE_SQLITE_DSN = "CODEXGO_DATABASE_SQLITE_DSN" SMTP_HOST = "CODEXGO_SMTP_HOST" SMTP_PORT = "CODEXGO_SMTP_PORT" SMTP_USERNAME = "CODEXGO_SMTP_USERNAME" SMTP_PASSWORD = "CODEXGO_SMTP_PASSWORD" JWT_SECRET_KEY = "CODEXGO_JWT_SECRET_KEY" SERVER_GIN_HOSTNAME = "CODEXGO_SERVER_GIN_HOSTNAME" SERVER_GIN_PORT = "CODEXGO_SERVER_GIN_PORT" SERVER_GIN_URL = "CODEXGO_SERVER_GIN_URL" SERVER_GIN_MODE = "CODEXGO_SERVER_GIN_MODE" SERVER_GIN_ALLOWED_HOSTS = "CODEXGO_SERVER_GIN_ALLOWED_HOSTS" SERVER_GIN_COOKIE_SECRET_KEY = "CODEXGO_SERVER_GIN_COOKIE_SECRET_KEY" SERVER_GIN_COOKIE_SESSION_NAME = "CODEXGO_SERVER_GIN_COOKIE_SESSION_NAME" DEV_AIR_PROXY_PORT = "CODEXGO_DEV_AIR_PROXY_PORT" )
Variables ¶
View Source
var (
DatabaseMongoDBURI, DatabaseMongoDBName string
DatabaseSQLiteDSN string
)
View Source
var (
BrokerRabbitMQURI, BrokerRabbitMQName string
)
View Source
var ENV = map[key]required{ BROKER_RABBITMQ_URI: false, BROKER_RABBITMQ_NAME: false, DATABASE_MONGODB_URI: false, DATABASE_MONGODB_NAME: false, DATABASE_SQLITE_DSN: false, SMTP_HOST: false, SMTP_PORT: false, SMTP_USERNAME: false, SMTP_PASSWORD: false, JWT_SECRET_KEY: true, SERVER_GIN_HOSTNAME: true, SERVER_GIN_PORT: true, SERVER_GIN_URL: true, SERVER_GIN_MODE: true, SERVER_GIN_ALLOWED_HOSTS: true, SERVER_GIN_COOKIE_SECRET_KEY: true, SERVER_GIN_COOKIE_SESSION_NAME: true, }
View Source
var (
JWTSecretKey string
)
View Source
var (
SMTPHost, SMTPPort, SMTPUsername, SMTPPassword string
)
View Source
var (
ServerGinHostname, ServerGinPort, ServerGinURL, ServerGinMode, ServerGinAllowedHosts, ServerGinCookieSecretKey, ServerGinCookieSessionName string
)
Functions ¶
func HasDatabase ¶ added in v4.9.0
func HasDatabase() bool
func HasServerGinProxy ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.