Documentation ¶
Index ¶
- Constants
- type Broker
- func (b *Broker) Consume(ctx context.Context, work chan []byte, queue string)
- func (b *Broker) Enqueue(ctx context.Context, msg []byte, queue string) error
- func (b *Broker) EnqueueScheduled(ctx context.Context, msg []byte, queue string, ts time.Time) error
- func (r *Broker) GetPending(ctx context.Context, queue string) ([]string, error)
- type Options
Constants ¶
View Source
const (
DefaultPollPeriod = time.Second
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.