Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UniqueBitmaskToStates ¶ added in v0.12.0
func UniqueKey ¶ added in v0.12.0
func UniqueKey(timeGen baseservice.TimeGenerator, uniqueOpts *UniqueOpts, params *rivertype.JobInsertParams) ([]byte, error)
func UniqueStatesToBitmask ¶ added in v0.12.0
Types ¶
type UniqueOpts ¶
type UniqueOpts struct { ByArgs bool ByPeriod time.Duration ByQueue bool ByState []rivertype.JobState ExcludeKind bool }
func (*UniqueOpts) IsEmpty ¶
func (o *UniqueOpts) IsEmpty() bool
func (*UniqueOpts) StateBitmask ¶ added in v0.12.0
func (o *UniqueOpts) StateBitmask() byte
Click to show internal directories.
Click to hide internal directories.