integration

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// RedisAddr redis default address
	RedisAddr = "127.0.0.1:6379"
	// DelayQueueAddr delay queue default address
	DelayQueueAddr = "http://127.0.0.1:8000"
)

Variables

This section is empty.

Functions

func AddJobRecord

func AddJobRecord(key, job string) error

AddJobRecord add job to set

func CleanTestingStates

func CleanTestingStates() error

CleanTestingStates clean all states from the previous testing

func DeleteJobRecord

func DeleteJobRecord(key, job string) error

DeleteJobRecord delete job record

func GetRedis

func GetRedis() redis.Redis

GetRedis get redis

func RecordNumbers

func RecordNumbers(key string) (int64, error)

RecordNumbers get record num

Types

This section is empty.

Jump to

Keyboard shortcuts

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