Documentation ¶
Index ¶
- type BeanstalkDelayQueue
- func (delayQueue *BeanstalkDelayQueue) Close() error
- func (delayQueue *BeanstalkDelayQueue) Delete(topic string, id string) error
- func (delayQueue *BeanstalkDelayQueue) Put(topic string, priority uint32, delay, ttr time.Duration, task Task) error
- func (delayQueue *BeanstalkDelayQueue) Update(topic string, id string, priority uint32, delay time.Duration) error
- func (delayQueue *BeanstalkDelayQueue) Watch(handle TaskHandle, topic ...string)
- type Conn
- type DelayQueue
- type Task
- type TaskHandle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeanstalkDelayQueue ¶
type BeanstalkDelayQueue struct {
// contains filtered or unexported fields
}
func NewBeanstalkDelayQueue ¶
func NewBeanstalkDelayQueue(addr string) (*BeanstalkDelayQueue, error)
func (*BeanstalkDelayQueue) Close ¶
func (delayQueue *BeanstalkDelayQueue) Close() error
func (*BeanstalkDelayQueue) Delete ¶
func (delayQueue *BeanstalkDelayQueue) Delete(topic string, id string) error
func (*BeanstalkDelayQueue) Watch ¶
func (delayQueue *BeanstalkDelayQueue) Watch(handle TaskHandle, topic ...string)
type DelayQueue ¶
type TaskHandle ¶
Click to show internal directories.
Click to hide internal directories.