1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

Add bytes support for sorted set.

This commit is contained in:
Vladimir Mihailenco
2015-07-16 17:30:16 +03:00
parent 0c19d0be41
commit 379b44f44a
2 changed files with 39 additions and 14 deletions

View File

@ -978,13 +978,16 @@ func (c *commandable) SUnionStore(destination string, keys ...string) *IntCmd {
//------------------------------------------------------------------------------
// Sorted set member.
type Z struct {
Score float64
Member string
Member interface{}
}
// Sorted set store operation.
type ZStore struct {
Weights []int64
Weights []int64
// Can be SUM, MIN or MAX.
Aggregate string
}