Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct { CodeList []string `json:"code_list" toml:"code_list" mapstructure:"code_list"` CrawlMode string `json:"crawl_mode" toml:"crawl_mode" mapstructure:"crawl_mode"` Source string `json:"source" toml:"source" mapstructure:"source"` RandomPeriod []int `json:"random_period" toml:"random_period" mapstructure:"random_period"` }
type Config ¶
type Config struct { MongoDB *mongodb.Config `json:"mongodb" toml:"mongodb" mapstructure:"mongodb"` Etcd *etcd.Config `json:"etcd" toml:"etcd" mapstructure:"etcd"` Log *log.Config `json:"log" toml:"log" mapstructure:"log"` GRPC *network.Config `json:"grpc" toml:"grpc" mapstructure:"grpc"` Otel *opentrace.Config `json:"otel" toml:"otel" mapstructure:"otel"` Collector *Collector `json:"collector" toml:"collector" mapstructure:"collector"` }
func InitializeDefaultConfig ¶
func (*Config) IsConfigValid ¶
Click to show internal directories.
Click to hide internal directories.