mqueue_store

package
v0.51.4 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	// ListMessageQueues lists message queues with a given ID prefix.
	//
	// Note: if !filled, implementation might not return queues that are empty.
	// If filled is set, implementation must only return filled queues.
	ListMessageQueues(ctx context.Context, prefix []byte, filled bool) ([][]byte, error)
	// OpenMqueue opens a message queue by ID.
	//
	// If the message queue does not exist, creates it.
	OpenMqueue(ctx context.Context, id []byte) (mqueue.Queue, error)
	// DelMqueue deletes a mqueue by ID.
	//
	// If not found, should not return an error.
	DelMqueue(ctx context.Context, id []byte) error
}

Store implements the message queue store.

Jump to

Keyboard shortcuts

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