redix

package
v0.0.0-...-fefde71 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(app *configx.Application) (*redisstd.Client, error)

NewClient is a function to create a new redis client

Types

type Container

type Container struct {
	*redis.RedisContainer
}

Container is used to represent a redis container.

func NewContainer

func NewContainer(ctx contextx.Contextx) (*Container, error)

NewContainer returns a new redis container.

func (*Container) RW

RW returns a read-write client.

Jump to

Keyboard shortcuts

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