Add postgres sslmode to configuration.

This commit is contained in:
Aaron L 2016-07-11 15:17:49 -07:00
parent 8cb8d1348a
commit 2b666e74de
5 changed files with 35 additions and 23 deletions

View file

@ -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"`
}