model

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 0 Imported by: 29

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Queue

type Queue struct {
	Name                   string  `json:"name"`
	PollingInterval        uint    `json:"polling_interval,omitempty"`
	MaxWorkers             uint    `json:"max_workers"`
	MaxDispatchesPerSecond float64 `json:"max_dispatches_per_second,omitempty"`
	MaxBurstSize           uint    `json:"max_burst_size,omitempty"`
}

Queue describes a queue.

type Routing

type Routing struct {
	QueueName   string `json:"queue_name"`
	JobCategory string `json:"job_category"`
}

Routing describes a routing.

Jump to

Keyboard shortcuts

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