Documentation ¶ Index ¶ Variables func NewBQueue(db *bbolt.DB) (wbot.Queue, error) type BQueue func (bq *BQueue) Close() error func (bq *BQueue) Dequeue() (wbot.Request, error) func (bq *BQueue) Enqueue(req wbot.Request) error func (bq *BQueue) Next() bool Constants ¶ This section is empty. Variables ¶ View Source var ( ErrEmptyQueue = errors.New("queue is empty") ) Functions ¶ func NewBQueue ¶ func NewBQueue(db *bbolt.DB) (wbot.Queue, error) NewBQueue Types ¶ type BQueue ¶ type BQueue struct { // contains filtered or unexported fields } BQueue func (*BQueue) Close ¶ func (bq *BQueue) Close() error Close func (*BQueue) Dequeue ¶ func (bq *BQueue) Dequeue() (wbot.Request, error) Dequeue func (*BQueue) Enqueue ¶ func (bq *BQueue) Enqueue(req wbot.Request) error Enqueue func (*BQueue) Next ¶ func (bq *BQueue) Next() bool Next Source Files ¶ View all Source files bolt.go Click to show internal directories. Click to hide internal directories.