rediscomm

package
v0.0.0-...-2ec961a Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisComm

type RedisComm struct {
	Key         string
	Field       string
	Common_exec string
	Timeout     int
	Re_prefix   string
	Data        interface{}
	RedisPool   *redis.Pool
}

func NewRedisComm

func NewRedisComm() *RedisComm

func (*RedisComm) CloseConnect

func (this *RedisComm) CloseConnect()

func (*RedisComm) DelKey

func (this *RedisComm) DelKey() bool

func (*RedisComm) Flushdb

func (this *RedisComm) Flushdb()

func (*RedisComm) GetDataMap

func (this *RedisComm) GetDataMap() map[string]interface{}

func (*RedisComm) GetHmapLen

func (this *RedisComm) GetHmapLen() int

func (*RedisComm) GetList

func (this *RedisComm) GetList() interface{}

func (*RedisComm) GetMapValue

func (this *RedisComm) GetMapValue() map[string]interface{}

func (*RedisComm) GetRawList

func (this *RedisComm) GetRawList() interface{}

func (*RedisComm) GetRawValue

func (this *RedisComm) GetRawValue() interface{}

func (*RedisComm) Get_value

func (this *RedisComm) Get_value() interface{}

func (*RedisComm) Getkey

func (this *RedisComm) Getkey() string

func (*RedisComm) HEXISTS

func (this *RedisComm) HEXISTS() bool

func (*RedisComm) HasKey

func (this *RedisComm) HasKey() bool

func (*RedisComm) Hdel_map

func (this *RedisComm) Hdel_map()

func (*RedisComm) Hget_map

func (this *RedisComm) Hget_map() interface{}

func (*RedisComm) Hget_raw

func (this *RedisComm) Hget_raw() interface{}

func (*RedisComm) Hincby

func (this *RedisComm) Hincby(n int)

func (*RedisComm) Hset_map

func (this *RedisComm) Hset_map()

func (*RedisComm) Hset_raw

func (this *RedisComm) Hset_raw()

func (*RedisComm) Ltrim

func (this *RedisComm) Ltrim(start, stop int)

func (*RedisComm) Push

func (this *RedisComm) Push(channel_name, message string) int

func (RedisComm) SAdd

func (this RedisComm) SAdd()

func (RedisComm) SISMEMBER

func (this RedisComm) SISMEMBER() bool

func (*RedisComm) SMembers

func (this *RedisComm) SMembers() []interface{}

func (*RedisComm) SRem

func (this *RedisComm) SRem()

func (*RedisComm) SetData

func (this *RedisComm) SetData(data interface{}) *RedisComm

func (*RedisComm) SetExec

func (this *RedisComm) SetExec(key string) *RedisComm

func (*RedisComm) SetFiled

func (this *RedisComm) SetFiled(key string) *RedisComm

func (*RedisComm) SetKey

func (this *RedisComm) SetKey(key string) *RedisComm

func (*RedisComm) SetList

func (this *RedisComm) SetList()

func (*RedisComm) SetRawList

func (this *RedisComm) SetRawList()

func (*RedisComm) SetRawValue

func (this *RedisComm) SetRawValue()

func (*RedisComm) SetTime

func (this *RedisComm) SetTime(timect int) *RedisComm

func (*RedisComm) Set_value

func (this *RedisComm) Set_value()

type RedisComm_mui

type RedisComm_mui struct {
	Key         string
	RdPack      *redispack.RedisPack
	RePool      *redis.Pool
	Field       string
	Common_exec string
	Timeout     int
	Re_prefix   string
	Data        interface{}
}

func NewRedisComm_mui

func NewRedisComm_mui(action string) *RedisComm_mui

func (*RedisComm_mui) DelKey

func (this *RedisComm_mui) DelKey() bool

func (*RedisComm_mui) Flushdb

func (this *RedisComm_mui) Flushdb()

func (*RedisComm_mui) GetHmapLen

func (this *RedisComm_mui) GetHmapLen() int

func (*RedisComm_mui) GetList

func (this *RedisComm_mui) GetList() interface{}

func (*RedisComm_mui) GetRawValue

func (this *RedisComm_mui) GetRawValue() interface{}

func (*RedisComm_mui) Get_value

func (this *RedisComm_mui) Get_value() interface{}

func (*RedisComm_mui) Getkey

func (this *RedisComm_mui) Getkey() string

func (*RedisComm_mui) HEXISTS

func (this *RedisComm_mui) HEXISTS() bool

func (*RedisComm_mui) HasKey

func (this *RedisComm_mui) HasKey() bool

func (*RedisComm_mui) Hdel_map

func (this *RedisComm_mui) Hdel_map()

func (*RedisComm_mui) Hget_map

func (this *RedisComm_mui) Hget_map() interface{}

func (*RedisComm_mui) Hget_raw

func (this *RedisComm_mui) Hget_raw() interface{}

func (*RedisComm_mui) Hincby

func (this *RedisComm_mui) Hincby(n int)

func (*RedisComm_mui) Hset_map

func (this *RedisComm_mui) Hset_map()

func (*RedisComm_mui) Hset_raw

func (this *RedisComm_mui) Hset_raw()

func (*RedisComm_mui) Push

func (this *RedisComm_mui) Push(channel_name, message string) int

func (*RedisComm_mui) SetData

func (this *RedisComm_mui) SetData(data interface{}) *RedisComm_mui

func (*RedisComm_mui) SetExec

func (this *RedisComm_mui) SetExec(key string) *RedisComm_mui

func (*RedisComm_mui) SetFiled

func (this *RedisComm_mui) SetFiled(key string) *RedisComm_mui

func (*RedisComm_mui) SetKey

func (this *RedisComm_mui) SetKey(key string) *RedisComm_mui

func (*RedisComm_mui) SetList

func (this *RedisComm_mui) SetList()

func (*RedisComm_mui) SetRawValue

func (this *RedisComm_mui) SetRawValue()

func (*RedisComm_mui) SetTime

func (this *RedisComm_mui) SetTime(timect int) *RedisComm_mui

func (*RedisComm_mui) Set_value

func (this *RedisComm_mui) Set_value()

type RedisComm_pool

type RedisComm_pool struct {
	Key    string
	RdPack *redispack.RedisPack

	Field       string
	Common_exec string
	Timeout     int
	Re_prefix   string
	Data        interface{}
	// contains filtered or unexported fields
}

func NewRedisComm_pool

func NewRedisComm_pool(action string) *RedisComm_pool

func (*RedisComm_pool) ClosePool

func (this *RedisComm_pool) ClosePool()

func (*RedisComm_pool) DelKey

func (this *RedisComm_pool) DelKey() bool

func (*RedisComm_pool) Flushdb

func (this *RedisComm_pool) Flushdb()

func (*RedisComm_pool) GetHmapLen

func (this *RedisComm_pool) GetHmapLen() int

func (*RedisComm_pool) GetList

func (this *RedisComm_pool) GetList() interface{}

func (*RedisComm_pool) GetPool

func (this *RedisComm_pool) GetPool()

func (*RedisComm_pool) GetRawValue

func (this *RedisComm_pool) GetRawValue() interface{}

func (*RedisComm_pool) Get_value

func (this *RedisComm_pool) Get_value() interface{}

func (*RedisComm_pool) Getkey

func (this *RedisComm_pool) Getkey() string

func (*RedisComm_pool) HEXISTS

func (this *RedisComm_pool) HEXISTS() bool

func (*RedisComm_pool) HasKey

func (this *RedisComm_pool) HasKey() bool

func (*RedisComm_pool) Hdel_map

func (this *RedisComm_pool) Hdel_map()

func (*RedisComm_pool) Hget_map

func (this *RedisComm_pool) Hget_map() interface{}

func (*RedisComm_pool) Hget_raw

func (this *RedisComm_pool) Hget_raw() interface{}

func (*RedisComm_pool) Hincby

func (this *RedisComm_pool) Hincby(n int)

func (*RedisComm_pool) Hset_map

func (this *RedisComm_pool) Hset_map()

func (*RedisComm_pool) Hset_raw

func (this *RedisComm_pool) Hset_raw()

func (*RedisComm_pool) Push

func (this *RedisComm_pool) Push(channel_name, message string) int

func (*RedisComm_pool) SetData

func (this *RedisComm_pool) SetData(data interface{}) *RedisComm_pool

func (*RedisComm_pool) SetExec

func (this *RedisComm_pool) SetExec(key string) *RedisComm_pool

func (*RedisComm_pool) SetFiled

func (this *RedisComm_pool) SetFiled(key string) *RedisComm_pool

func (*RedisComm_pool) SetKey

func (this *RedisComm_pool) SetKey(key string) *RedisComm_pool

func (*RedisComm_pool) SetList

func (this *RedisComm_pool) SetList()

func (*RedisComm_pool) SetRawValue

func (this *RedisComm_pool) SetRawValue()

func (*RedisComm_pool) SetTime

func (this *RedisComm_pool) SetTime(timect int) *RedisComm_pool

func (*RedisComm_pool) Set_value

func (this *RedisComm_pool) Set_value()

Jump to

Keyboard shortcuts

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