Documentation ¶
Index ¶
- type Redis
- func (m *Redis) Get(key string) (string, error)
- func (m *Redis) Hdel(key string, fields ...string) (bool, error)
- func (m *Redis) Hset(key, field, value string) error
- func (m *Redis) Set(key, value string) error
- func (m *Redis) Setex(key, value string, seconds int) error
- func (m *Redis) SetnxEx(key, value string, seconds int) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Redis ¶
type Redis struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.