gr

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

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

Go to latest
Published: May 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnexpectedResult error = errors.New("unexpected result")

Functions

This section is empty.

Types

type BRPop

type BRPop func(ctx context.Context, timeout time.Duration, key string) *g9.StringSliceCmd

func BRPopNew

func BRPopNew(client *g9.Client) BRPop

func (BRPop) ToBRPop

func (g BRPop) ToBRPop() ir.BRPop[string]

type LLen

type LLen func(ctx context.Context, key string) *g9.IntCmd

func LLenNew

func LLenNew(client *g9.Client) LLen

func (LLen) ToLLen

func (g LLen) ToLLen() ir.LLen[string]

type LPush

type LPush[V ir.Val] func(ctx context.Context, key string, val V) *g9.IntCmd

func LPushNew

func LPushNew[V ir.Val](client *g9.Client) LPush[V]

func (LPush[V]) ToLPush

func (g LPush[V]) ToLPush() ir.LPush[string, V]

Jump to

Keyboard shortcuts

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