env

package
v4.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BrokerRabbitMQURI  = os.Getenv("BROKER_RABBITMQ_URI")
	BrokerRabbitMQName = os.Getenv("BROKER_RABBITMQ_NAME")
)
View Source
var (
	DatabaseMongoDBURI  = os.Getenv("DATABASE_MONGODB_URI")
	DatabaseMongoDBName = os.Getenv("DATABASE_MONGODB_NAME")
)
View Source
var (
	ServerGinHostname          = os.Getenv("CODEXGO_SERVER_GIN_HOSTNAME")
	ServerGinPort              = os.Getenv("CODEXGO_SERVER_GIN_PORT")
	ServerGinURL               = os.Getenv("CODEXGO_SERVER_GIN_URL")
	ServerGinMode              = os.Getenv("CODEXGO_SERVER_GIN_MODE")
	ServerGinAllowedHosts      = os.Getenv("CODEXGO_SERVER_GIN_ALLOWED_HOSTS")
	ServerGinCookieSecretKey   = os.Getenv("CODEXGO_SERVER_GIN_COOKIE_SECRET_KEY")
	ServerGinCookieSessionName = os.Getenv("CODEXGO_SERVER_GIN_COOKIE_SESSION_NAME")
)
View Source
var (
	SMTPHost     = os.Getenv("CODEXGO_SMTP_HOST")
	SMTPPort     = os.Getenv("CODEXGO_SMTP_PORT")
	SMTPUsername = os.Getenv("CODEXGO_SMTP_USERNAME")
	SMTPPassword = os.Getenv("CODEXGO_SMTP_PASSWORD")
)
View Source
var (
	JWTSecretKey = os.Getenv("CODEXGO_JWT_SECRET_KEY")
)

Functions

func HasServerGinProxy

func HasServerGinProxy() (string, bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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