manager

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeQueueUsageBackupKey added in v1.3.2

func MakeQueueUsageBackupKey(qID string) string

func New

func New(ctx context.Context, ops ...Option) types.QueueManager

New return a new queue manager.

Types

type Option

type Option func(manager *defaultManager)

func WithDBClient

func WithDBClient(dbClient *dbclient.Client) Option

func WithEtcdClient added in v1.3.2

func WithEtcdClient(etcdClient *etcd.Store) Option

func WithJsClient added in v1.3.2

func WithJsClient(js jsonstore.JsonStore) Option

type SnapshotObj added in v1.3.2

type SnapshotObj struct {
	QueueUsageByID map[string][]byte `json:"queueUsageByID"`
}

Jump to

Keyboard shortcuts

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