queues

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEqual

func IsEqual(value string, queue Queue) bool

func IsInvalid

func IsInvalid(value Queue) bool

func IsValid

func IsValid(queue Queue) bool

Types

type Queue

type Queue string
const (
	HorusecAPI                  Queue = "horusec-api"
	HorusecWriterAnalysisCreate Queue = "horusec-writer-analysis-create"
	HorusecAnalysisFinish       Queue = "horusec-analysis-finish"
	HorusecAnalyser             Queue = "horusec-analyser"
	HorusecEmail                Queue = "horusec-email"
	UNKNOWN                     Queue = "unknown"
)

func ValueOf

func ValueOf(value string) Queue

func Values

func Values() []Queue

func (Queue) ToString

func (q Queue) ToString() string

Jump to

Keyboard shortcuts

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