config

package
v0.0.0-...-1aa1bea Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: MIT Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

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