queue

package
v0.0.0-...-7240e86 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterQueue

func RegisterQueue(q ObserveQueue)

RegisterQueue registers a queue by its name.

Types

type ObserveQueue

type ObserveQueue interface {
	Name() string

	Publish(tasks []*model.WorkflowTaskInstance) error

	Ack(tasks *model.WorkflowTaskInstance) error

	Observe()
}

func GetQueue

func GetQueue(name string) ObserveQueue

GetQueue returns the queue by name.

Jump to

Keyboard shortcuts

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