confredis

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Carry

func Carry(o Operator) contextx.Carrier

func With

func With(ctx context.Context, o Operator) context.Context

Types

type Executor

type Executor interface {
	Exec(string, ...any) (any, error)
}

type MultiExecutor

type MultiExecutor interface {
}

type Operator

type Operator interface {
	// Key returns key with prefix
	Key(key string) string
	// Get redis connection
	Get() redis.Conn

	Executor
}

func From

func From(ctx context.Context) (Operator, bool)

func MustFrom

func MustFrom(ctx context.Context) Operator

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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