Documentation ¶
Index ¶
- type Redis
- func (r *Redis) CreateHMap(key string, obj map[string]string) error
- func (r *Redis) CreateList(list string, args []int) error
- func (r *Redis) Delete(key string) error
- func (r *Redis) Exists(key string) bool
- func (r *Redis) Expire(key string, seconds int64) error
- func (r *Redis) GetHMapValue(key string, subKey string) (string, error)
- func (r *Redis) GetKeyValue(key string) (string, error)
- func (r *Redis) Open() redigo.Conn
- func (r *Redis) PopExpiredForm() string
- func (r *Redis) RegisterExpiredForms(formIDs []string) error
- func (r *Redis) RoundRobinFromList(list string) (int, error)
- func (r *Redis) SetHMapValue(key string, subKey string, value string) error
- func (r *Redis) SetKeyValue(key string, value string, expirySeconds int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Redis ¶
type Redis struct { common.RedisConnector // contains filtered or unexported fields }
func (*Redis) GetHMapValue ¶
func (*Redis) PopExpiredForm ¶
func (*Redis) RegisterExpiredForms ¶
func (*Redis) SetHMapValue ¶
Click to show internal directories.
Click to hide internal directories.