clickhouse.go 498 Bytes
Newer Older
haoyanbin's avatar
1  
haoyanbin committed
1 2 3 4 5 6 7 8 9
package config

type Clickhouse struct {
	Host     string `mapstructure:"host" json:"host" yaml:"host"`             // 服务器地址:端口
	Debug    bool   `mapstructure:"debug" json:"debug" yaml:"debug"`          // 高级配置
	Database string `mapstructure:"database" json:"database" yaml:"database"` // 数据库名
	Username string `mapstructure:"username" json:"username" yaml:"username"` // 数据库用户名
	Password string `mapstructure:"password" json:"password" yaml:"password"`
}