package
Version:
v0.7.0
Opens a new window with list of versions in this module.
Published: Jul 18, 2024
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
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"`
}
type Config struct {
ClickHouse ClickHouse `default:"{}" yaml:"clickhouse"`
Server Server `default:"{}" yaml:"server"`
HTTP HTTP `default:"{}" yaml:"http"`
Log Log `default:"{}" yaml:"log"`
}
type HTTP struct {
Enabled bool `default:"true" yaml:"enabled"`
Host string `default:"127.0.0.1" yaml:"host"`
Port string `default:"9100" yaml:"port"`
Debug bool `default:"false" yaml:"debug"`
}
type Log struct {
Level string `default:"info" yaml:"level"`
Format string `default:"text" yaml:"format"`
}
type Server struct {
Host string `default:"0.0.0.0" yaml:"host"`
Port string `default:"0" yaml:"port"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.