Documentation ¶
Index ¶
- type Memory
- type Message
- func (m *Message) GetErrorCount() int
- func (m *Message) GetID() string
- func (m *Message) GetPrefix() (prefix string)
- func (m *Message) GetStream() string
- func (m *Message) GetValues() map[string]interface{}
- func (m *Message) SetErrorCount(count int)
- func (m *Message) SetID(id string)
- func (m *Message) SetPrefix(prefix string)
- func (m *Message) SetStream(stream string)
- func (m *Message) SetValues(values map[string]interface{})
- type NSQ
- type Redis
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { redisqueue.Message ErrorCount int // contains filtered or unexported fields }
func (*Message) GetErrorCount ¶
func (*Message) SetErrorCount ¶
type NSQ ¶
type NSQ struct {
// contains filtered or unexported fields
}
type Redis ¶
type Redis struct {
// contains filtered or unexported fields
}
Redis cache implement
func NewRedis ¶
func NewRedis( producerOptions *redisqueue.ProducerOptions, consumerOptions *redisqueue.ConsumerOptions, ) (*Redis, error)
NewRedis redis模式
Click to show internal directories.
Click to hide internal directories.