Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsumerTopicModel ¶
type MQConsumer ¶
type MQConsumer interface { RegisterByTopic(topic string, callback mq.IConsumerCallback) error Register(callback mq.IConsumerCallback) error Start() error Close() error }
func NewMQConsumer ¶
func NewMQConsumer(kind string, cluster string, confPath string, logPath string, topicModels []*ConsumerTopicModel) MQConsumer
type MQProducer ¶
func NewMQProducer ¶
Click to show internal directories.
Click to hide internal directories.