Documentation ¶
Index ¶
- type HashMap
- func (s *HashMap) GetType() ds.DataType
- func (s *HashMap) HDel(key string)
- func (s *HashMap) HExists(key string) bool
- func (s *HashMap) HGet(key string) []byte
- func (s *HashMap) HGetAll() map[string][]byte
- func (s *HashMap) HIncrBy(key string, value int64) int64
- func (s *HashMap) HIncrByFloat(key string, value float64) float64
- func (s *HashMap) HKeys() []string
- func (s *HashMap) HLen() int
- func (s *HashMap) HMGet(keys ...string) [][]byte
- func (s *HashMap) HMSet(values map[string][]byte)
- func (s *HashMap) HScan(cursor int, match string, count int) (int, map[string][]byte)
- func (s *HashMap) HSet(key string, value []byte)
- func (s *HashMap) HSetNX(key string, value []byte) bool
- func (s *HashMap) HVals() [][]byte
- func (s *HashMap) MarshalBinary() ([]byte, error)
- func (s *HashMap) UnmarshalBinary(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashMap ¶
func (*HashMap) HIncrByFloat ¶
HIncByFloat increments the value of a hash
func (*HashMap) MarshalBinary ¶ added in v1.0.8
Marshal the set to bytes
func (*HashMap) UnmarshalBinary ¶ added in v1.0.8
Unmarshal the set from bytes
Click to show internal directories.
Click to hide internal directories.