delay

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Deferred = map[int]int{
	1: 15,
	2: 15,
	3: 30,
	4: 180,
	5: 1800,
	6: 1800,
	7: 1800,
	8: 1800,
	9: 3600,
}

Functions

func DefaultDelay

func DefaultDelay(m *nsq.Message) (bool, time.Duration)

func DeferredDelay

func DeferredDelay(m *nsq.Message) (bool, time.Duration)

Types

This section is empty.

Jump to

Keyboard shortcuts

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