dbunique

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobInsertResult

type JobInsertResult struct {
	Job                      *rivertype.JobRow
	UniqueSkippedAsDuplicate bool
}

type UniqueInserter

type UniqueInserter struct {
	baseservice.BaseService
	AdvisoryLockPrefix int32
}

func (*UniqueInserter) JobInsert

type UniqueOpts

type UniqueOpts struct {
	ByArgs   bool
	ByPeriod time.Duration
	ByQueue  bool
	ByState  []rivertype.JobState
}

func (*UniqueOpts) IsEmpty

func (o *UniqueOpts) IsEmpty() bool

Jump to

Keyboard shortcuts

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