dao

package
v0.0.0-...-c242be3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2017 License: MIT Imports: 8 Imported by: 0

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
}

func NewDao

func NewDao() (dao *Dao, err error)

type ES

type ES struct {
	// contains filtered or unexported fields
}

func NewES

func NewES() (es *ES, err error)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL