queues

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 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"
	HorusecWebhookDispatch      Queue = "horusec-webhook-dispatch"
	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