redis

package
v0.0.0-...-6c0d317 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenConsumerName

func GenConsumerName(id ...int) (string, error)

消费者

func NewClient

func NewClient(t *testing.T, options ...zeroRedis.Option) *redis.Client

func NewClientFromOptions

func NewClientFromOptions(t *testing.T, r *zeroRedis.Redis) *redis.Client

func NewProducter

func NewProducter(topic string) *redis.Cmdable

func NewRedisInmemory

func NewRedisInmemory(t *testing.T, options ...zeroRedis.Option) *zeroRedis.Redis

NewRedisInmemory creates a new inmemory redis store

Types

This section is empty.

Jump to

Keyboard shortcuts

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