Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckTopic ¶
Types ¶
type Http2MQ ¶
type Http2MQ struct {
WebConf `yaml:"web"`
KafkaConf `yaml:"kafka"`
UserConf []string `yaml:"users"`
User map[string]AuthUser `yaml:"-"`
Topics []string `yaml:"topics"`
TopicMap map[string]bool `yaml:"-"`
}
var Conf *Http2MQ
type KafkaConf ¶
type KafkaConf struct {
Brokers string `yaml:"brokers"`
Topic string `yaml:"topic"`
ConsumerUser string `yaml:"consumer_user"`
ZK string `yaml:"zk"`
ZkRoot string `yaml:"zk_root"`
ZKServers []string `yaml:"-"`
SyncProducer sarama.SyncProducer `yaml:"-"`
AsyncProducer sarama.AsyncProducer `yaml:"-"`
Consumer sarama.Consumer `yaml:"-"`
}
Click to show internal directories.
Click to hide internal directories.