Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrListenerShutdown = errors.New("listener shutdown") ErrListenerNotFound = errors.New("listener not found") ErrListenerDeleted = errors.New("listener was deleted") ErrListenerRetryMessageNotFound = errors.New("error ack message. message_id not found") )
View Source
var (
ErrJobNotFound = errors.New("job not found")
)
Functions ¶
Types ¶
type BlockQueue ¶
type BlockQueue[V chan bqio.ResponseMessages] struct { // contains filtered or unexported fields }
func New ¶
func New[V chan bqio.ResponseMessages](db *db, bucket *kv) *BlockQueue[V]
func (*BlockQueue[V]) Close ¶
func (q *BlockQueue[V]) Close()
type Http ¶
type Http struct { Stream *BlockQueue[chan io.ResponseMessages] Db *db }
type Job ¶
type Job[V chan io.ResponseMessages] struct { Id uuid.UUID Name string // contains filtered or unexported fields }
type Listener ¶
type Listener[V chan blockio.ResponseMessages] struct { Id string JobId string PriorityQueue *pqueue.PriorityQueue[V] // contains filtered or unexported fields }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.