Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyScoreMember ¶
KeyScoreMember represents one entry in a ZSET.
func (KeyScoreMember) MarshalJSON ¶
func (ksm KeyScoreMember) MarshalJSON() ([]byte, error)
MarshalJSON makes sure that the strings in KeyScoreMember are marshalled properly as byte sequences (i.e. base64 encoded in the JSON data; the JSON string encoding is neither efficient nor reliable for arbitrary byte sequences).
func (*KeyScoreMember) UnmarshalJSON ¶
func (ksm *KeyScoreMember) UnmarshalJSON(data []byte) error
UnmarshalJSON makes sure that the strings in KeyScoreMember are unmarshalled properly from byte sequences (i.e. base64 encoded in the JSON data; the JSON string encoding is neither efficient nor reliable for arbitrary byte sequences).
type KeyScoreMembers ¶
type KeyScoreMembers []KeyScoreMember
KeyScoreMembers implements sort.Sort methods on a slice of KeyScoreMember.
func (KeyScoreMembers) Less ¶
func (a KeyScoreMembers) Less(i, j int) bool
Less implements sort.Sort.
Click to show internal directories.
Click to hide internal directories.