redis

package
v0.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const TASK_KEY = "TASK_DEF"
View Source
const WORKFLOW_DEF string = "WORKFLOW"
View Source
const WORKFLOW_KEY string = "FLOW"

Variables

This section is empty.

Functions

func NewRedisDelayQueue

func NewRedisDelayQueue(config Config, partitionId string) *redisDelayQueue

func NewRedisFlowDao

func NewRedisFlowDao(conf Config, encoderDecoder util.EncoderDecoder[model.FlowContext], partId string) *redisFlowDao

func NewRedisPartition

func NewRedisPartition(config Config, encoderDecoder util.EncoderDecoder[model.FlowContext], partId string) *redisPartition

func NewRedisPartitions

func NewRedisPartitions(config Config, encoderDecoder util.EncoderDecoder[model.FlowContext], partitionCount int) *persistence.Partitions

func NewRedisQueue

func NewRedisQueue(config Config, partitionId string) *redisQueue

func NewRedisTaskDao

func NewRedisTaskDao(conf Config, encoderDecoder util.EncoderDecoder[model.TaskDef]) *redisTaskDao

func NewRedisWorkflowDao

func NewRedisWorkflowDao(conf Config) *redisWorkflowDao

Types

type Config

type Config struct {
	Addrs     []string
	Namespace string
}

Jump to

Keyboard shortcuts

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