Documentation ¶
Index ¶
- func AppendCommand(s *resp.Session) error
- func AuthCommand(s *resp.Session) error
- func BitCountCommand(s *resp.Session) error
- func BitPosCommand(s *resp.Session) error
- func CommandCommand(s *resp.Session) error
- func DecrCommand(s *resp.Session) error
- func DecrbyCommand(s *resp.Session) error
- func DelCommand(s *resp.Session) error
- func DiscardCommand(s *resp.Session) error
- func EchoCommand(s *resp.Session) error
- func EvalCommand(s *resp.Session) error
- func EvalshaCommand(s *resp.Session) error
- func ExecCommand(s *resp.Session) error
- func ExistsCommand(s *resp.Session) error
- func ExpireAtCommand(s *resp.Session) error
- func ExpireCommand(s *resp.Session) error
- func GeoAddCommand(s *resp.Session) error
- func GeoDistCommand(s *resp.Session) error
- func GeoHashCommand(s *resp.Session) error
- func GeoPosCommand(s *resp.Session) error
- func GeoRadiusByMemberCommand(s *resp.Session) error
- func GeoRadiusCommand(s *resp.Session) error
- func GetBitCommand(s *resp.Session) error
- func GetCommand(s *resp.Session) error
- func GetRangeCommand(s *resp.Session) error
- func GetSetCommand(s *resp.Session) error
- func HClearCommand(s *resp.Session) error
- func HExpireCommand(s *resp.Session) error
- func HExpireatCommand(s *resp.Session) error
- func HKeyExistsCommand(s *resp.Session) error
- func HPersistCommand(s *resp.Session) error
- func HTtlCommand(s *resp.Session) error
- func HdelCommand(s *resp.Session) error
- func HexistsCommand(s *resp.Session) error
- func HgetCommand(s *resp.Session) error
- func HgetallCommand(s *resp.Session) error
- func HincrbyCommand(s *resp.Session) error
- func HkeysCommand(s *resp.Session) error
- func HlenCommand(s *resp.Session) error
- func HmgetCommand(s *resp.Session) error
- func HmsetCommand(s *resp.Session) error
- func HsetCommand(s *resp.Session) error
- func HvalsCommand(s *resp.Session) error
- func IncrByFloatCommand(s *resp.Session) error
- func IncrCommand(s *resp.Session) error
- func IncrbyCommand(s *resp.Session) error
- func InfoCommand(s *resp.Session) error
- func KDelCommand(s *resp.Session) error
- func KExistsCommand(s *resp.Session) error
- func KExpireAtCommand(s *resp.Session) error
- func KExpireCommand(s *resp.Session) error
- func KPersistCommand(s *resp.Session) error
- func KTtlCommand(s *resp.Session) error
- func LClearCommand(s *resp.Session) error
- func LExpireCommand(s *resp.Session) error
- func LExpireatCommand(s *resp.Session) error
- func LKeyExistsCommand(s *resp.Session) error
- func LPersistCommand(s *resp.Session) error
- func LPushXCommand(s *resp.Session) error
- func LTrimBackCommand(s *resp.Session) error
- func LTrimCommand(s *resp.Session) error
- func LTrimFrontCommand(s *resp.Session) error
- func LTtlCommand(s *resp.Session) error
- func LindexCommand(s *resp.Session) error
- func LinsertCommand(s *resp.Session) error
- func LlenCommand(s *resp.Session) error
- func LpopCommand(s *resp.Session) error
- func LpushCommand(s *resp.Session) error
- func LrangeCommand(s *resp.Session) error
- func LremCommand(s *resp.Session) error
- func LsetCommand(s *resp.Session) error
- func MSetCommand(s *resp.Session) error
- func MgetCommand(s *resp.Session) error
- func MultiCommand(s *resp.Session) error
- func PExpireAtCommand(s *resp.Session) error
- func PExpireCommand(s *resp.Session) error
- func PKSETEXATCommand(s *resp.Session) error
- func PSetExCommand(s *resp.Session) error
- func PTtlCommand(s *resp.Session) error
- func PersistCommand(s *resp.Session) error
- func PingCommand(s *resp.Session) error
- func RPushXCommand(s *resp.Session) error
- func RpopCommand(s *resp.Session) error
- func RpushCommand(s *resp.Session) error
- func SClearCommand(s *resp.Session) error
- func SExpireCommand(s *resp.Session) error
- func SExpireatCommand(s *resp.Session) error
- func SKeyExistsCommand(s *resp.Session) error
- func SPersistCommand(s *resp.Session) error
- func SRandMemberCommand(s *resp.Session) error
- func STtlCommand(s *resp.Session) error
- func SaddCommand(s *resp.Session) error
- func ScardCommand(s *resp.Session) error
- func ScriptCommand(s *resp.Session) error
- func SelectCommand(s *resp.Session) error
- func SetBitCommand(s *resp.Session) error
- func SetCommand(s *resp.Session) error
- func SetExCommand(s *resp.Session) error
- func SetNxCommand(s *resp.Session) error
- func SetRangeCommand(s *resp.Session) error
- func ShutdownCommand(s *resp.Session) error
- func SismemberCommand(s *resp.Session) error
- func SmembersCommand(s *resp.Session) error
- func SpopCommand(s *resp.Session) error
- func SremCommand(s *resp.Session) error
- func StrLenCommand(s *resp.Session) error
- func TtlCommand(s *resp.Session) error
- func TypeCommand(s *resp.Session) error
- func UnwatchCommand(s *resp.Session) error
- func WatchCommand(s *resp.Session) error
- func ZClearCommand(s *resp.Session) error
- func ZExpireCommand(s *resp.Session) error
- func ZExpireatCommand(s *resp.Session) error
- func ZKeyExistsCommand(s *resp.Session) error
- func ZPersistCommand(s *resp.Session) error
- func ZRangeByLexCommand(s *resp.Session) error
- func ZTtlCommand(s *resp.Session) error
- func ZaddCommand(s *resp.Session) error
- func ZcardCommand(s *resp.Session) error
- func ZcountCommand(s *resp.Session) error
- func ZincrbyCommand(s *resp.Session) error
- func ZlexcountCommand(s *resp.Session) error
- func ZrangeCommand(s *resp.Session) error
- func ZrangebyscoreCommand(s *resp.Session) error
- func ZrangebyscoreGeneric(s *resp.Session, reverse bool) error
- func ZrankCommand(s *resp.Session) error
- func ZremCommand(s *resp.Session) error
- func ZremrangebylexCommand(s *resp.Session) error
- func ZremrangebyrankCommand(s *resp.Session) error
- func ZremrangebyscoreCommand(s *resp.Session) error
- func ZrevrangeCommand(s *resp.Session) error
- func ZrevrangebyscoreCommand(s *resp.Session) error
- func ZrevrankCommand(s *resp.Session) error
- func ZscoreCommand(s *resp.Session) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendCommand ¶
func AuthCommand ¶
func BitCountCommand ¶
func BitPosCommand ¶
func CommandCommand ¶
func DecrCommand ¶
func DecrbyCommand ¶
func DelCommand ¶
func DiscardCommand ¶
func EchoCommand ¶
func EvalCommand ¶
func EvalshaCommand ¶
func ExecCommand ¶
func ExistsCommand ¶
func ExpireAtCommand ¶
func ExpireCommand ¶
func GeoAddCommand ¶
func GeoDistCommand ¶
func GeoHashCommand ¶
func GeoPosCommand ¶
func GeoRadiusCommand ¶
func GetBitCommand ¶
func GetCommand ¶
func GetRangeCommand ¶
func GetSetCommand ¶
func HClearCommand ¶
func HExpireCommand ¶
func HExpireatCommand ¶
func HKeyExistsCommand ¶
func HPersistCommand ¶
func HTtlCommand ¶
func HdelCommand ¶
func HexistsCommand ¶
func HgetCommand ¶
func HgetallCommand ¶
func HincrbyCommand ¶
func HkeysCommand ¶
func HlenCommand ¶
func HmgetCommand ¶
func HmsetCommand ¶
func HsetCommand ¶
func HvalsCommand ¶
func IncrByFloatCommand ¶
func IncrCommand ¶
func IncrbyCommand ¶
func InfoCommand ¶
func KDelCommand ¶
func KExistsCommand ¶
func KExpireAtCommand ¶
func KExpireCommand ¶
func KPersistCommand ¶
func KTtlCommand ¶
func LClearCommand ¶
func LExpireCommand ¶
func LExpireatCommand ¶
func LKeyExistsCommand ¶
func LPersistCommand ¶
func LPushXCommand ¶
func LTrimBackCommand ¶
func LTrimCommand ¶
func LTrimFrontCommand ¶
func LTtlCommand ¶
func LindexCommand ¶
func LinsertCommand ¶
func LlenCommand ¶
func LpopCommand ¶
func LpushCommand ¶
func LrangeCommand ¶
func LremCommand ¶
func LsetCommand ¶
func MSetCommand ¶
func MgetCommand ¶
func MultiCommand ¶
func PExpireAtCommand ¶
func PExpireCommand ¶
func PKSETEXATCommand ¶
func PSetExCommand ¶
func PTtlCommand ¶
func PersistCommand ¶
func PingCommand ¶
func RPushXCommand ¶
func RpopCommand ¶
func RpushCommand ¶
func SClearCommand ¶
func SExpireCommand ¶
func SExpireatCommand ¶
func SKeyExistsCommand ¶
func SPersistCommand ¶
func SRandMemberCommand ¶
func STtlCommand ¶
func SaddCommand ¶
func ScardCommand ¶
func ScriptCommand ¶
func SelectCommand ¶
func SetBitCommand ¶
func SetCommand ¶
func SetExCommand ¶
func SetNxCommand ¶
func SetRangeCommand ¶
func ShutdownCommand ¶
func SismemberCommand ¶
func SmembersCommand ¶
func SpopCommand ¶
func SremCommand ¶
func StrLenCommand ¶
func TtlCommand ¶
func TypeCommand ¶
func UnwatchCommand ¶
func WatchCommand ¶
func ZClearCommand ¶
func ZExpireCommand ¶
func ZExpireatCommand ¶
func ZKeyExistsCommand ¶
func ZPersistCommand ¶
func ZRangeByLexCommand ¶
func ZTtlCommand ¶
func ZaddCommand ¶
func ZcardCommand ¶
func ZcountCommand ¶
func ZincrbyCommand ¶
func ZlexcountCommand ¶
func ZrangeCommand ¶
func ZrangebyscoreCommand ¶
func ZrankCommand ¶
func ZremCommand ¶
func ZremrangebylexCommand ¶
func zrangebylexCommand(c *session) error { args := s.Args if len(args) != 3 && len(args) != 6 { return CmdParamsErr } min, max, rangeType, err := zparseMemberRange(args[1], args[2]) if err != nil { return err } var offset int = 0 var count int = -1 if len(args) == 6 { if strings.ToLower(unsafe2.String(args[3])) != "limit" { return SyntaxErr } if offset, err = strconv.Atoi(unsafe2.String(args[4])); err != nil { return ValueErr } if count, err = strconv.Atoi(unsafe2.String(args[5])); err != nil { return ValueErr } } key := args[0] if ay, err := proxyClient.ZRangeByLex(key, min, max, rangeType, offset, count); err != nil { return err } else { s.RespWriter.WriteSliceArray(ay) } return nil }
func ZremrangebyrankCommand ¶
func ZremrangebyscoreCommand ¶
func ZrevrangeCommand ¶
func ZrevrangebyscoreCommand ¶
func ZrevrankCommand ¶
func ZscoreCommand ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.