Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cfg = New()
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Flags *Flags
}
Config ...
type DB ¶
type DB struct { Addr string `envconfig:"TYPHOON_DB_ADDR" default:"host.docker.internal"` Username string `envconfig:"TYPHOON_DB_USERNAME" default:"root"` Password string `envconfig:"TYPHOON_DB_PASSWORD" default:""` Database string `envconfig:"TYPHOON_DB_DATABASE" default:"defaultdb"` Port int `envconfig:"TYPHOON_DB_PORT" default:"26257"` SslMode string `envconfig:"TYPHOON_DB_SSL_MODE" default:"disable"` }
DB ...
Click to show internal directories.
Click to hide internal directories.