MCPcopy Create free account
hub / github.com/koding/kite / PostgresConfig

Struct PostgresConfig

kontrol/postgres.go:27–34  ·  view source on GitHub ↗

Postgres holds Postgresql database related configuration

Source from the content-addressed store, hash-verified

25
26// Postgres holds Postgresql database related configuration
27type PostgresConfig struct {
28 Host string `default:"localhost"`
29 Port int `default:"5432"`
30 Username string `required:"true"`
31 Password string
32 DBName string `required:"true" `
33 ConnectTimeout int `default:"20"`
34}
35
36type Postgres struct {
37 DB *sql.DB

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected