redis

package
v0.0.0-...-3c8dea2 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRedis

func NewRedis(rdb *redis.Client, prefix string) chepun.StateManager

Types

type Redis

type Redis struct {
	// contains filtered or unexported fields
}

func (*Redis) All

func (r *Redis) All(ctx context.Context, correlationId string) (map[string][]byte, error)

func (*Redis) Append

func (r *Redis) Append(ctx context.Context, correlationId string, correlationConfig []byte, queueName string, message []byte) error

func (*Redis) Delete

func (r *Redis) Delete(ctx context.Context, correlationId string) error

Jump to

Keyboard shortcuts

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