Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultKafka ¶
func DefaultKafka() []kafka.ConsumerGroupConf
func InitConfig ¶
Types ¶
type CometInvoker ¶
type Config ¶
type Config struct { Name string `yaml:"name"` // 服务名 Debug bool `yaml:"debug"` // 是否开启debug Discovery *Discovery `yaml:"discovery"` // etcd的配置 Kafka []kafka.ConsumerGroupConf `yaml:"kafka"` // Kafka的配置 CometInvoker *CometInvoker `yaml:"cometInvoker"` // Comet调用器配置 Room *Room `yaml:"room"` }
var Conf *Config
Click to show internal directories.
Click to hide internal directories.