redis

package
v0.0.2-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: 0

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