Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadConfig ¶
func ReadConfig()
func WriteConfig ¶
func WriteConfig()
Types ¶
type ConfigType ¶
type ConfigType struct { KafkaServer []string `json:"kafka_server"` KafkaTopic string `json:"kafka_topic"` KafkaGroup string `json:"kafka_group"` KafkaOffset int64 `json:"kafka_offset"` EtcdServer []string `json:"etcd_server"` DialTimeout int64 `json:"dial_timeout"` LeaderPort string `json:"leader_port"` FolowerPorts []string `json:"folloer_ports"` }
var Config ConfigType
Click to show internal directories.
Click to hide internal directories.