Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { DBHost *string `default:"localhost"` DBPort *int `default:"5432"` DBUser *string `default:"config"` DBPassword *string `default:"config"` DBName *string `default:"live_config"` DBSSLMode *string `default:"disable"` DBMaxIdleConns *int `default:"10" envconfig:"db_max_idle_conns"` DBMaxOpenConns *int `default:"100" envconfig:"db_max_open_conns"` }
Config represents a configuration object with values that can be passed via env variable
Click to show internal directories.
Click to hide internal directories.