Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Database PGHost string `envconfig:"PG_HOST" required:"true" default:"localhost"` PGPort string `envconfig:"PG_PORT" required:"true" default:"5432"` PGUser string `envconfig:"PG_USER" required:"true" default:"artiom"` PGPassword string `envconfig:"PG_PWD" required:"true" default:"calendar"` PGDatabase string `envconfig:"PG_DB" required:"true" default:"bannersdb"` // gRPC GRPCHost string `envconfig:"GRPC_HOST" required:"true" default:"localhost"` GRPCPort string `envconfig:"GRPC_PORT" required:"true" default:"50051"` // MQ AMPQDSN string `envconfig:"AMQP_DSN" required:"true" default:"amqp://guest:guest@localhost:5672/"` AMPQExchange string `envconfig:"AMQP_EXCH" required:"true" default:"EventNotification"` AMPQQueue string `envconfig:"AMQP_QUEUE" required:"true" default:"Events"` }
Config represents set of env variables for project configuration.
Click to show internal directories.
Click to hide internal directories.