Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao struct {
KafkaProducer *KafkaProducer
}
type KafkaProducer ¶
type KafkaProducer struct {
// contains filtered or unexported fields
}
func NewKafkaProducer ¶
func NewKafkaProducer() (kafkaProducer *KafkaProducer)
func (*KafkaProducer) HandleError ¶
func (kp *KafkaProducer) HandleError()
func (*KafkaProducer) HandleSuccess ¶
func (kp *KafkaProducer) HandleSuccess()
func (*KafkaProducer) Process ¶
func (kp *KafkaProducer) Process()
func (*KafkaProducer) SendGroupMsg ¶
func (kp *KafkaProducer) SendGroupMsg(data *model.SendGroupMsgKafka)
func (*KafkaProducer) SendP2PMsg ¶
func (kp *KafkaProducer) SendP2PMsg(data *model.SendP2PMsgKafka)
Click to show internal directories.
Click to hide internal directories.