memory

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Queue

type Queue [][]byte

Queue is the in memory based implementation of the blobqueue.Queue interface.

func (*Queue) Empty

func (q *Queue) Empty() error

Empty implements Queue interface

func (Queue) Len

func (q Queue) Len() (int, error)

Len implements Queue interface

func (Queue) List

func (q Queue) List() ([][]byte, error)

List implements Queue interface

func (*Queue) Pop

func (q *Queue) Pop() ([]byte, error)

Pop implements Queue interface

func (*Queue) Push

func (q *Queue) Push(val []byte) error

Push implements Queue interface

func (*Queue) Shift

func (q *Queue) Shift() ([]byte, error)

Shift implements Queue interface

func (*Queue) Unshift

func (q *Queue) Unshift(val []byte) error

Unshift implements Queue interface

Jump to

Keyboard shortcuts

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