Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisScriptParam ¶
type RedisScriptParam struct { Keys []string Args []interface{} }
type RedisWrapper ¶
type RedisWrapper interface { io.Closer // The returned `redis.Conn` should be closed by manual Raw() redis.Conn // contains filtered or unexported methods }
func Open ¶
func Open(dsn string) (RedisWrapper, error)
type SortSetItem ¶
type SortSetItem struct { Member string // used by member score, // @note - the value must be int64 or float64 when used to zadd // @note - the value will be string when returned Score interface{} }
SortSet item type
type SortSetRangeOption ¶
type SortSetRangeOption func(opt *zrangeOption)
func WithZRange ¶
func WithZRange(limit, offset int) SortSetRangeOption
func WithZScores ¶
func WithZScores() SortSetRangeOption
Source Files ¶
Click to show internal directories.
Click to hide internal directories.