Documentation ¶
Index ¶
- func Close() error
- func Delete(key any) *redis.Cmd
- func DeleteM(key any) error
- func Do(args ...any) *redis.Cmd
- func ExpireKey(key any, seconds int64) *redis.Cmd
- func Get(key any) *redis.Cmd
- func GetMarshal(key any, v any) error
- func Keys(keys any) *redis.Cmd
- func OpenRedis(option *Options)
- func Set(key any, value any) *redis.Cmd
- func SetMarshal(key any, data any) error
- type Options
- type Redis
- func (r *Redis) Close() error
- func (r *Redis) Delete(key any) *redis.Cmd
- func (r *Redis) DeleteM(key any) error
- func (r *Redis) Do(args ...any) *redis.Cmd
- func (r *Redis) ExpireKey(key any, seconds int64) *redis.Cmd
- func (r *Redis) Get(key any) *redis.Cmd
- func (r *Redis) GetMarshal(key any, v any) error
- func (r *Redis) Keys(keys any) *redis.Cmd
- func (r *Redis) Set(key any, value any) *redis.Cmd
- func (r *Redis) SetMarshal(key any, data any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMarshal ¶
func SetMarshal ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.