metadata

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: ISC Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StartVersion   = 1
	InvalidVersion = 0
	InvalidStatus  = 0
	InvalidID      = 0

	StatusRunning = 1
	StatusReady   = 2
	StatusPending = 3
)

Variables

This section is empty.

Functions

func NextVersion

func NextVersion(version int64) (int64, error)

NextVersion increments version

func StatusToID

func StatusToID(name string) (uint8, error)

StatusToID converts status name to numeric id

func StatusToName

func StatusToName(id uint8) (string, error)

StatusToName converts status numeric id to name

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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