dump

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TaskQueueMainToText added in v1.0.8

func TaskQueueMainToText(tqs *queue.TaskQueueSet) string

TaskQueueMainToText dumps only the 'main' queue.

func TaskQueueSetToText

func TaskQueueSetToText(tqs *queue.TaskQueueSet) string

TaskQueueSetToText dumps all queues.

func TaskQueueToText

func TaskQueueToText(q *queue.TaskQueue) string

TaskQueueToText dumps all tasks in queue.

Types

type AsQueueNames

type AsQueueNames []string

AsQueueNames implements sort.Interface for array of queue names. 'main' queue has the top priority. Other names are sorted as usual.

func (AsQueueNames) Len

func (a AsQueueNames) Len() int

func (AsQueueNames) Less

func (a AsQueueNames) Less(i, j int) bool

func (AsQueueNames) Swap

func (a AsQueueNames) Swap(i, j int)

Jump to

Keyboard shortcuts

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