Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
Types ¶
type Config ¶
type Config struct { ENV string `envconfig:"GO_ENV"` HTTP_PORT string `envconfig:"HTTP_PORT"` GRPC_PORT string `envconfig:"GRPC_PORT"` REDIS_HOST string `envconfig:"REDIS_HOST"` REDIS_PORT string `envconfig:"REDIS_PORT"` REDIS_PASSWORD string `envconfig:"REDIS_PASSWORD"` REDIS_LOG_CONTAINER string `envconfig:"REDIS_LOG_CONTAINER"` LOG_SERVICE_NAME string `envconfig:"LOG_SERVICE_NAME"` JWT_SECRET string `envconfig:"JWT_SECRET"` PG_IAM_HOST string `envconfig:"PG_IAM_HOST"` PG_IAM_USER string `envconfig:"PG_IAM_USER"` PG_IAM_DATABASE string `envconfig:"PG_IAM_DATABASE"` PG_IAM_PASSWORD string `envconfig:"PG_IAM_PASSWORD"` PG_IAM_PORT string `envconfig:"PG_IAM_PORT"` }
var LoadedConfig Config
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.