queuelogic

package
v0.489.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2023 License: Apache-2.0 Imports: 17 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	QUEUE_PREFIX = "gramophile/taskqueue/"
)

Functions

This section is empty.

Types

type Queue added in v0.317.0

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

func (*Queue) Enqueue added in v0.317.0

func (q *Queue) Enqueue(ctx context.Context, req *pb.EnqueueRequest) (*pb.EnqueueResponse, error)

func (*Queue) Execute added in v0.317.0

func (q *Queue) Execute(ctx context.Context, req *pb.EnqueueRequest) (*pb.EnqueueResponse, error)

func (*Queue) ExecuteInternal added in v0.317.0

func (q *Queue) ExecuteInternal(ctx context.Context, d discogs.Discogs, u *pb.StoredUser, entry *pb.QueueElement) error

func (*Queue) FlushQueue added in v0.317.0

func (q *Queue) FlushQueue(ctx context.Context)

func (*Queue) List added in v0.317.0

func (q *Queue) List(ctx context.Context, req *pb.ListRequest) (*pb.ListResponse, error)

func (*Queue) Run added in v0.317.0

func (q *Queue) Run()

Jump to

Keyboard shortcuts

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