Documentation
¶
Index ¶
Constants ¶
View Source
const (
Proto = "streamredis"
)
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 ConsumerOptions ¶
type MsgBody ¶
type Producer ¶
type Producer struct {
// contains filtered or unexported fields
}
Producer memcache配置文件
func NewProducer ¶
NewProducerByConfig 根据配置文件创建一个redis连接
type ProductOptions ¶
type ProductOptions struct {
StreamMaxLength int64 `json:"stream_max_len" yaml:"stream_max_len"`
}
Click to show internal directories.
Click to hide internal directories.