Documentation ¶
Index ¶
- type RuntimeStorageRedisImp
- func (r *RuntimeStorageRedisImp) CheckKeyExit(key string) (bool, error)
- func (r *RuntimeStorageRedisImp) DelValueByKey(key string) error
- func (r *RuntimeStorageRedisImp) GetAllKeys() ([]string, error)
- func (r *RuntimeStorageRedisImp) GetValueByKey(key string) (interface{}, error)
- func (r *RuntimeStorageRedisImp) GetValueByKeyToBool(key string) (bool, error)
- func (r *RuntimeStorageRedisImp) GetValueByKeyToBytes(key string) ([]byte, error)
- func (r *RuntimeStorageRedisImp) GetValueByKeyToInt(key string) (int, error)
- func (r *RuntimeStorageRedisImp) GetValueByKeyToString(key string) (string, error)
- func (r *RuntimeStorageRedisImp) SetValueByKey(key string, value interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuntimeStorageRedisImp ¶
func NewRuntimeStorageRedisImp ¶
func NewRuntimeStorageRedisImp(redisPool *redis.Pool) *RuntimeStorageRedisImp
func (*RuntimeStorageRedisImp) CheckKeyExit ¶
func (r *RuntimeStorageRedisImp) CheckKeyExit(key string) (bool, error)
func (*RuntimeStorageRedisImp) DelValueByKey ¶
func (r *RuntimeStorageRedisImp) DelValueByKey(key string) error
func (*RuntimeStorageRedisImp) GetAllKeys ¶
func (r *RuntimeStorageRedisImp) GetAllKeys() ([]string, error)
func (*RuntimeStorageRedisImp) GetValueByKey ¶
func (r *RuntimeStorageRedisImp) GetValueByKey(key string) (interface{}, error)
func (*RuntimeStorageRedisImp) GetValueByKeyToBool ¶
func (r *RuntimeStorageRedisImp) GetValueByKeyToBool(key string) (bool, error)
func (*RuntimeStorageRedisImp) GetValueByKeyToBytes ¶
func (r *RuntimeStorageRedisImp) GetValueByKeyToBytes(key string) ([]byte, error)
func (*RuntimeStorageRedisImp) GetValueByKeyToInt ¶
func (r *RuntimeStorageRedisImp) GetValueByKeyToInt(key string) (int, error)
func (*RuntimeStorageRedisImp) GetValueByKeyToString ¶
func (r *RuntimeStorageRedisImp) GetValueByKeyToString(key string) (string, error)
func (*RuntimeStorageRedisImp) SetValueByKey ¶
func (r *RuntimeStorageRedisImp) SetValueByKey(key string, value interface{}) error
Click to show internal directories.
Click to hide internal directories.