t_route

package
v0.5.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Route

type Route interface {
	Route() string
}

type RoutingConfig

type RoutingConfig struct {
	// Kind identifies the type of routing to use (e.g. pattern, etc.)
	Kind RoutingKind

	// Name identifies the existing routing in the queueing system.
	Name string

	// Target identifies the connection and queue to route the task to.
	Target *Target

	// Metadata is the any additional information or configuration for the specific routing kind.
	Metadata *metadata.Metadata
}

type RoutingKind

type RoutingKind string
const (
	Pattern RoutingKind = "pattern"
)

type Target

type Target struct {
	// Connection identifies the connection to route the task to.
	Connection string

	// Queue identifies the task queue within the queueing system.
	Queue string
}

Jump to

Keyboard shortcuts

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