ymdRedis

package
v0.0.0-...-91de038 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisClient

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

func NewRedisClient

func NewRedisClient(addr string) *RedisClient

func (*RedisClient) MustBLPop

func (this *RedisClient) MustBLPop(seconds int, key string) (value string, hasData bool)

func (*RedisClient) MustFlushAll

func (this *RedisClient) MustFlushAll()

func (*RedisClient) MustGetIgnoreNotExists

func (this *RedisClient) MustGetIgnoreNotExists(k string) (v string)

func (*RedisClient) MustHDel

func (this *RedisClient) MustHDel(key string, filed string) (ok bool)

func (*RedisClient) MustHGetAll

func (this *RedisClient) MustHGetAll(key string) (filedValueMap map[string]string)

func (*RedisClient) MustHSetNx

func (this *RedisClient) MustHSetNx(key string, filed string, value string) (ok bool)

func (*RedisClient) MustRPush

func (this *RedisClient) MustRPush(key string, value string)

func (*RedisClient) MustSet

func (this *RedisClient) MustSet(k string, v string)

Jump to

Keyboard shortcuts

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