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 ¶ added in v1.3.0
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 ¶ added in v1.3.0
type SortSetRangeOption func(opt *zrangeOption)
func WithZRange ¶ added in v1.3.0
func WithZRange(limit, offset int) SortSetRangeOption
func WithZScores ¶ added in v1.3.0
func WithZScores() SortSetRangeOption
Click to show internal directories.
Click to hide internal directories.