queues

package
v1.48.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lease

type Lease struct {
	Id     string
	Expiry time.Time
}

type LocalQueuesService

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

func NewLocalQueuesService

func NewLocalQueuesService() (*LocalQueuesService, error)

Create new Dev EventService

func (*LocalQueuesService) Complete

Complete an item previously popped from a queue

func (*LocalQueuesService) Dequeue

Receive message(s) from a queue

func (*LocalQueuesService) Enqueue

Send messages to a queue

type QueueItem

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

type State

type State = map[queueName]map[serviceName]int

Jump to

Keyboard shortcuts

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