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: 5 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 {
	MongoDB *MongoDB
	Kafka   *Kafka
}

func NewDao

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

type Kafka

type Kafka struct {
	Consumer *kafka.Consumer
}

func NewKafka

func NewKafka() (k *Kafka)

type MongoDB

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

func NewMongoDB

func NewMongoDB() (mdb *MongoDB, err error)

func (*MongoDB) StoreOfflineMsg

func (m *MongoDB) StoreOfflineMsg(msg *commmodel.OfflineMsg) (err error)

Jump to

Keyboard shortcuts

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