新增postgresql的Host配置

This commit is contained in:
SliverHorn
2020-09-22 17:53:20 +08:00
parent 9e19684d40
commit f8e1832172
2 changed files with 2 additions and 1 deletions

View File

@@ -44,6 +44,7 @@ type Mysql struct {
}
type Postgresql struct {
Host string `mapstructure:"host" json:"host" yaml:"host"`
Username string `mapstructure:"username" json:"username" yaml:"username"`
Password string `mapstructure:"password" json:"password" yaml:"password"`
Dbname string `mapstructure:"db-name" json:"dbname" yaml:"db-name"`