Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DBConnectionString string `envconfig:"DB_CONNECTION_STRING" required:"true"` MaxDBConnections int32 `envconfig:"DB_MAX_CONNECTIONS" default:"10"` PingInterval time.Duration `envconfig:"DB_PING_INTERVAL" default:"3s"` PingTimeout time.Duration `envconfig:"DB_PING_TIMEOUT" default:"15s"` }
Click to show internal directories.
Click to hide internal directories.