Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDbConnection ¶
Types ¶
type Config ¶
type Config struct { Addr string `env:"PG_ADDR" envDefault:"127.0.0.1"` Port string `env:"PG_PORT" envDefault:"5432"` User string `env:"PG_USER" envDefault:"postgres"` Password string `env:"PG_PASSWORD" envDefault:"devtronpg"` Database string `env:"PG_DATABASE" envDefault:"telemetry-user-analytics"` ApplicationName string `env:"APP" envDefault:"telemetry-telemetry-analytics"` LogQuery bool `env:"PG_LOG_QUERY" envDefault:"true"` }
Click to show internal directories.
Click to hide internal directories.