redis

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RandomValueLength  = 20
	LockerTouchTimeout = time.Second * 3
)
View Source
const (
	TaskLockerKey = "task:scheduler:locker:%s"
)

Variables

View Source
var (
	Locker = &locker{
		ctx: context.Background(),
	}
)

Functions

func InitRedis

func InitRedis(s storage.Storage)

Types

This section is empty.

Jump to

Keyboard shortcuts

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