types

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TYPE_NONE represents work without a type that gets inserted into the job
	// queue. TYPE_NONE is set to a high number to avoid conflicts. We don't know
	// which data store this value will be coupled to, so we use the max int32
	// value for safety. SQLite, for example, only supports signed integers,
	// so `math.MaxUint64` is too large.
	//
	// However, we support uint64 for the work type for more flexibility with
	// data stores that support large numbers.
	TYPE_NONE uint64 = math.MaxInt32
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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