Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DelayQueue ¶
type DelayQueue struct { Name string // contains filtered or unexported fields }
func NewDelayQueue ¶
func NewDelayQueue(name string, interval time.Duration, rd *redis.Client, handler Handler) *DelayQueue
func (*DelayQueue) Push ¶
func (dq *DelayQueue) Push(ctx context.Context, req *delay.DelayTaskRequest) error
func (*DelayQueue) Start ¶
func (dq *DelayQueue) Start()
func (*DelayQueue) Stop ¶
func (dq *DelayQueue) Stop()
Click to show internal directories.
Click to hide internal directories.