redisenum

package
v0.0.0-...-09c63dc Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//字符串相关
	Str_Set         = "Set"
	Str_Get         = "Get"
	Str_GetSet      = "GETSET"
	Str_MGet        = "MGET"
	Str_SetEx       = "SETEX"
	Str_SetNx       = "SETNX"
	Str_MSet        = "MSet"
	Str_MSetNx      = "MSETNX"
	Str_PSetEx      = "PSETEX"
	Str_Incr        = "INCR"
	Str_Incrby      = "INCRBY"
	Str_IncrbyFloat = "INCRBYFLOAT"
	Str_Decr        = "DECR"
	Str_Decrby      = "DECRBY"
	Str_Append      = "APPEND"
	//Hash 哈希
	Hash_Hdel         = "HDEL"
	Hash_Hexists      = "HEXISTS"
	Hash_Hget         = "HGET"
	Hash_Hgetall      = "HGETALL"
	Hash_Hincrby      = "HINCRBY"
	Hash_HincrbyFloat = "HINCRBYFLOAT"
	Hash_HKeys        = "HKEYS"
	Hash_HLen         = "HLEN"
	Hash_Hmget        = "HMGET"
	Hash_Hmset        = "HMSET"
	Hash_Hset         = "HSet"
	Hash_Hsetnx       = "HSETNX"
	Hash_Hvals        = "HVALS"
	//key相关
	Key_DelKey = "Del"
	Key_Dump   = "DUMP"
	Key_Expire = "Expire"
	Key_Exists = "EXISTS"
	Key_Pttl   = "PTTL"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisResponse

type RedisResponse struct {
	//成功/失败
	Result bool
	//返回错误
	Err error
	//具体结果数据
	Data interface{}
}

Jump to

Keyboard shortcuts

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