Add postgres sslmode to configuration.
This commit is contained in:
parent
8cb8d1348a
commit
2b666e74de
5 changed files with 35 additions and 23 deletions
11
config.go
11
config.go
|
@ -12,9 +12,10 @@ type Config struct {
|
|||
|
||||
// PostgresConfig configures a postgres database
|
||||
type PostgresConfig struct {
|
||||
User string `toml:"user"`
|
||||
Pass string `toml:"pass"`
|
||||
Host string `toml:"host"`
|
||||
Port int `toml:"port"`
|
||||
DBName string `toml:"dbname"`
|
||||
User string `toml:"user"`
|
||||
Pass string `toml:"pass"`
|
||||
Host string `toml:"host"`
|
||||
Port int `toml:"port"`
|
||||
DBName string `toml:"dbname"`
|
||||
SSLMode string `toml:"sslmode"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue