Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefaults ¶ added in v0.5.2
func SetDefaults(cfg *Config)
Types ¶
type ClickHouse ¶
type ClickHouse struct {
Host string `default:"127.0.0.1" yaml:"host"`
Port string `default:"9000" yaml:"port"`
Database string `default:"default" yaml:"database"`
User string `default:"default" yaml:"user"`
Password string `default:"" yaml:"password"`
Client ClickHouseClient `default:"{}" yaml:"client"`
}
type ClickHouseClient ¶ added in v0.9.0
type ClickHouseClient struct {
MaxConcurrentQueries int64 `default:"0" yaml:"max_concurrent_queries"`
}
type Config ¶
type Config struct {
ClickHouse ClickHouse `default:"{}" yaml:"clickhouse"`
Server Server `default:"{}" yaml:"server"`
HTTP HTTP `default:"{}" yaml:"http"`
Log Log `default:"{}" yaml:"log"`
}
Click to show internal directories.
Click to hide internal directories.