Documentation ¶
Index ¶
Constants ¶
View Source
const (
Proto = "redis"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer struct {
// contains filtered or unexported fields
}
Consumer Consumer
func NewConsumer ¶
NewConsumerByConfig 创建新的Consumer
type MsgBody ¶
type Producer ¶
type Producer struct {
// contains filtered or unexported fields
}
Producer memcache配置文件
func NewProducer ¶
NewProducerByConfig 根据配置文件创建一个redis连接
type ProductOptions ¶ added in v0.1.19
Click to show internal directories.
Click to hide internal directories.