Documentation ¶
Overview ¶
这个package已经过时了, 新代码请不要使用这个package里面得任何api和type
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueueManager ¶
type QueueManager struct {
// contains filtered or unexported fields
}
func NewQueueManager ¶
func NewQueueManager(qc map[string]RedisQueueConfig) *QueueManager
func (*QueueManager) Add ¶
func (qm *QueueManager) Add(name string, q *RedisQueue)
func (*QueueManager) Get ¶
func (qm *QueueManager) Get(name string) *RedisQueue
type RedisQueue ¶
type RedisQueue struct {
// contains filtered or unexported fields
}
func NewRedisQueue ¶
func NewRedisQueue(conf RedisQueueConfig) *RedisQueue
func (*RedisQueue) Do ¶
func (q *RedisQueue) Do(commandName string, args ...interface{}) (reply interface{}, err error)
func (*RedisQueue) Messages ¶
func (q *RedisQueue) Messages(closeChan chan bool, maxQueueSize int) chan []byte
func (*RedisQueue) Send ¶
func (q *RedisQueue) Send(bytes []byte) error
Click to show internal directories.
Click to hide internal directories.