Documentation ¶
Index ¶
- func Del(key string) error
- func GetBool(key string) (bool, error)
- func GetByte(key string) ([]byte, error)
- func GetClient() *redis.Client
- func GetFloat32(key string) (float32, error)
- func GetFloat64(key string) (float64, error)
- func GetInt(key string) (int, error)
- func GetInt64(key string) (int64, error)
- func GetString(key string) (string, error)
- func GetStringMapString(key string) (map[string]string, error)
- func GetUint64(key string) (uint64, error)
- func HSet(key string, val ...any) error
- func Init(opts ...Opt)
- func Persist(key string) error
- func Set(key string, val any) error
- func SetNx(key string, val any, expiration time.Duration) error
- func TTL(key string) (time.Duration, error)
- func UseConn(run func(conn *redis.Conn) error) error
- type Config
- type Opt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFloat32 ¶
func GetFloat64 ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.