Documentation ¶
Index ¶
Constants ¶
View Source
const CorsEnabled = "cors_enabled"
View Source
const GracefulShutdownTimeout string = "gracefulShutdownTimeout"
View Source
const HTTPPort = "http_port"
View Source
const IdleTimeout string = "idleTimeout"
View Source
const JWTExpiresAt = "jwt_expiring_time"
View Source
const JWTIssuer = "jwt_issuer"
View Source
const JWTSigningKey = "jwt_signing_key"
View Source
const MatchMakerJWTKey = "matchmaker_signing_key"
View Source
const Port string = "port"
View Source
const Prod = "prod"
View Source
const RabbitAccountQueue = "rabbitmq_auth_queue"
View Source
const RabbitBankQueue = "bank"
View Source
const RabbitExchange = "rabbit_exchange"
View Source
const RabbitMQPassword = "rabbitmq_password"
View Source
const RabbitMQUrl = "rabbitmq_url"
View Source
const RabbitMQUsername = "rabbitmq_username"
View Source
const ReadTimeout string = "readTimeout"
View Source
const RedisAddress = "redis_address"
View Source
const RedisPassword = "redis_password"
View Source
const RedisUsername = "redis_username"
View Source
const SessionCookieExpiration = "session_cookie_expiration"
View Source
const SessionCookieName = "session_cookie_name"
View Source
const StatusRedisAddress = "status_redis_address"
View Source
const StatusRedisPassword = "status_redis_password"
View Source
const StatusRedisUsername = "status_redis_username"
View Source
const WriteTimeout string = "writeTimeout"
Variables ¶
This section is empty.
Functions ¶
func ReadStandardConfig ¶
func ReadStandardConfig(serviceName string, logger *zap.SugaredLogger)
func ReadVaultSecrets ¶
func ReadVaultSecrets()
func RegisterDefaults ¶
func RegisterDefaults()
func RegisterRabbitDefaults ¶
func RegisterRabbitDefaults()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.