boltstore

package
v1.0.2-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lane

type Lane struct {
	// contains filtered or unexported fields
}

Lane

type Store

type Store struct {
	// contains filtered or unexported fields
}

Store

func NewStore

func NewStore(path string) (*Store, error)

NewStore

func (*Store) Close

func (s *Store) Close()

close

func (*Store) Dequeue

func (s *Store) Dequeue() (tinyq.Message, error)

Dequeue

func (*Store) Enqueue

func (s *Store) Enqueue(msg tinyq.Message) error

Enqueue

func (*Store) IsEmpty

func (s *Store) IsEmpty() bool

IsEmpty

func (*Store) List

func (s *Store) List(typ tinyq.MessageStatus, offset, limit uint64) (tinyq.Messages, error)

List

func (*Store) Notify

func (s *Store) Notify(uuid string, merr error) error

Notify

func (*Store) Remove

func (s *Store) Remove(typ tinyq.MessageStatus) error

Remove

func (*Store) Retry

func (s *Store) Retry() error

Retry

func (*Store) Statistic

func (s *Store) Statistic() (tinyq.Stats, error)

Statistic

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL