Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseConfig ¶
type BaseConfig struct {
DriverConfig DriverConfig `json:"driver" yaml:"driver" mapstructure:"driver"`
FRLiteConfig FRLiteConfig `json:"fr_lite" yaml:"fr_lite" mapstructure:"fr_lite"`
}
type DriverConfig ¶
type DriverConfig struct {
MysqlConfig MysqlConfig `json:"mysql" yaml:"mysql" mapstructure:"mysql"`
RedisConfig RedisConfig `json:"redis" yaml:"redis" mapstructure:"redis"`
StorageConfig StorageConfig `json:"storage" yaml:"storage" mapstructure:"storage"`
}
type FRLiteConfig ¶
type FRLiteConfig struct {
InferConfig InferConfig `json:"infer" yaml:"infer" mapstructure:"infer"`
PickupConfig PickupConfig `json:"pickup" yaml:"pickup" mapstructure:"pickup"`
MonitorConfig MonitorConfig `json:"monitor" yaml:"monitor" mapstructure:"monitor"`
}
type FastDFSStorageConfig ¶
type FileFormat ¶
type FileFormats ¶
type FileFormats struct {
Standard FileFormat `json:"standard" yaml:"standard" mapstructure:"standard"`
Snapshot FileFormat `json:"snapshot" yaml:"snapshot" mapstructure:"snapshot"`
Feature FileFormat `json:"feature" yaml:"feature" mapstructure:"feature"`
}
type InferConfig ¶
type InferConfig struct {
Port int `json:"port" yaml:"port" mapstructure:"port"`
FileFormats FileFormats `json:"file_formats" yaml:"file_formats" mapstructure:"file_formats"`
}
type LocalStorageConfig ¶
type LocalStorageConfig struct {
FilePrefix *string `json:"file_prefix" yaml:"file_prefix" mapstructure:"file_prefix"`
}
type MonitorConfig ¶
type MonitorConfig struct {
NameServerDomain string `json:"name_server_domain" yaml:"name_server_domain" mapstructure:"name_server_domain"`
NameServers string `json:"name_servers" yaml:"name_servers" mapstructure:"name_servers"`
ConsumerGroup string `json:"consumer_group" yaml:"consumer_group" mapstructure:"consumer_group"`
MetricTopic string `json:"metric_topic" yaml:"metric_topic" mapstructure:"metric_topic"`
StopTopic string `json:"stop_topic" yaml:"stop_topic" mapstructure:"stop_topic"`
}
type MysqlConfig ¶
type PickupConfig ¶
type PickupConfig struct {
NameServerDomain string `json:"name_server_domain" yaml:"name_server_domain" mapstructure:"name_server_domain"`
NameServers string `json:"name_servers" yaml:"name_servers" mapstructure:"name_servers"`
Retry int `json:"retry" yaml:"retry" mapstructure:"retry"`
ProducerGroup string `json:"producer_group" yaml:"producer_group" mapstructure:"producer_group"`
PickupTopic string `json:"pickup_topic" yaml:"pickup_topic" mapstructure:"pickup_topic"`
}
type RedisConfig ¶
type RedisConfig struct {
Network string `json:"network" yaml:"network" mapstructure:"network"`
Address string `json:"address" yaml:"address" mapstructure:"address"`
Password string `json:"password" yaml:"password" mapstructure:"password"`
DB int `json:"driver" yaml:"driver" mapstructure:"driver"`
}
type StorageConfig ¶
type StorageConfig struct {
Use string `json:"use" yaml:"use" mapstructure:"use"`
FastDFSStorageConfig FastDFSStorageConfig `json:"fast_dfs_storage" yaml:"fast_dfs_storage" mapstructure:"fast_dfs_storage"`
LocalStorageConfig LocalStorageConfig `json:"local_storage" yaml:"local_storage" mapstructure:"local_storage"`
}
Click to show internal directories.
Click to hide internal directories.