store

package
v0.0.0-...-7687a33 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(s types.QueueStorer) *sClient

Types

type Client

type Client interface {
	Add(context.Context, string, []byte) error
	Process(context.Context, uint64, types.QueueMessage) error
}

type StoreClient

type StoreClient interface {
	Client
	Storer
}

type Storer

type Storer interface {
	SetStore(types.QueueStorer)
	GetStore() types.QueueStorer
}

Jump to

Keyboard shortcuts

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