scannedstatus

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Key       = "scanned_status"
	BadReason = "scanned_bad_reason"
	Timestamp = "scanned_status_timestamp"
)

Variables

This section is empty.

Functions

func Check

func Check(scannedStatus string, query url.Values) error

Types

type ScannedStatus

type ScannedStatus int
const (
	NotScanned ScannedStatus = iota
	ScannedOK
	ScannedBad
)

there is a fundamental error here in that the default zero value is used for something meaningful. Better would be to name the zero value to UNSPECIFIED and NotScanned to 1... difficult to change now...

func FromString

func FromString(stringVal string) ScannedStatus

func Value

func Value(s string) ScannedStatus

func (ScannedStatus) String

func (s ScannedStatus) String() string

Jump to

Keyboard shortcuts

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