Commit Graph

257 Commits

Author SHA1 Message Date
Vladimir Mihailenco 2bf0ea529d Fix names and add comments. 2015-10-22 14:15:47 +03:00
Will Jessop ffeacb8b03 Implement SetName and GetName
Allows setting and getting the client connection name.

http://redis.io/commands/client-setname
http://redis.io/commands/client-getname
2015-10-20 20:21:58 +01:00
Ian Chan 126513f1fb Added binding for GEORADIUSBYMEMBER, GEODIST AND GEOHASH.
Change-Id: Ia6144617f42629af4c022e595c444ddc6d66f1a3
2015-10-16 17:57:45 +03:00
Vladimir Mihailenco 0944d0167b Remove unneeded formatting. 2015-10-07 18:21:18 +03:00
Vladimir Mihailenco b23b9b7727 Refactor reply parser. 2015-10-07 17:09:20 +03:00
Ian Chan 8a05670e7a Added binding for GEOADD and GEORADIUS. 2015-09-28 11:11:46 +03:00
Vladimir Mihailenco d2689feb56 Add ZADD modifiers. 2015-08-29 13:08:27 +03:00
Vladimir Mihailenco 5dfdaafe04 Merge pull request #156 from go-redis/fix/SRandMemberN
Add SRandMemberN. Fixes #155.
2015-08-26 09:55:17 +03:00
Jeff Pierce 5498ba400d Reverted change to struct ZRangeByScore, implemented ZRevRangeByLex. 2015-08-25 12:15:01 -07:00
Vladimir Mihailenco 9ead45f9e9 Add SRandMemberN. Fixes #155. 2015-08-25 14:02:16 +03:00
Jeff Pierce 2abf5c5f14 Refactored zRangeByScore into zRangeBy. 2015-08-24 14:52:00 -07:00
Jeff Pierce 2de07f2493 Implemented ZRangeByLex with tests. 2015-08-22 20:38:37 -07:00
Vladimir Mihailenco c0b0c99ec5 Document zero expiration. Fixes #143. 2015-08-07 17:09:00 +03:00
Vladimir Mihailenco 379b44f44a Add bytes support for sorted set. 2015-07-16 17:30:16 +03:00
Vladimir Mihailenco 4275a19033 Merge pull request #130 from go-redis/fix/restore-time-duration
Use time.Duration in Restore.
2015-07-13 12:24:22 +03:00
Vladimir Mihailenco 412baf447b Add RestoreReplace. 2015-07-11 12:23:04 +03:00
Vladimir Mihailenco fa185a564f Use time.Duration in Restore. 2015-07-11 12:10:41 +03:00
Vladimir Mihailenco 3c1f2bd45a Allow setting and scaning interface{} values. 2015-07-11 11:54:26 +03:00
Vladimir Mihailenco 4df8b2bbbc Add ClientPause command. 2015-05-15 15:11:22 +03:00
Adrien Bustany 5f85be3173 commands: reduce memory allocations in ZAdd. 2015-05-15 13:10:42 +03:00
Vladimir Mihailenco 0b87c16b61 Remove PSetEx and SetEx. Set should be used instead. 2015-05-14 16:49:47 +03:00
Vladimir Mihailenco fb7803ad5a Use time.Duration to specify timeout. 2015-04-13 09:48:40 +03:00
Vladimir Mihailenco 754c11ab7f Add bitpos command. 2015-04-06 12:48:43 +03:00
Vladimir Mihailenco 4fefa47d6d Merge pull request #79 from go-redis/fix/consistent-zrevrange
Use consistent API in ZRevRangeWithScores and ZRevRange. Fixes #56. Fixes #78.
2015-04-04 14:51:05 +03:00
Vladimir Mihailenco 2dc61d458a Refactor Set, SetNX and SetXX with expiration. 2015-03-30 16:49:08 +03:00
Vladimir Mihailenco 026823f334 Use consistent API in ZRevRangeWithScores and ZRevRange. Fixes #56. Fixes #78. 2015-03-30 16:14:21 +03:00
Dimitrij Denissenko c21e5f3255 Add Redis Cluster support. 2015-03-19 11:19:55 +02:00
Dimitrij Denissenko 34855172f2 Fix/normalise pubsubnumsub response 2015-01-30 17:09:57 +02:00
Geoff Garside daade895aa Add missing "BY" argument to Sort args list.
Fixes "ERR syntax error" issue with Sort{By: "pattern"}.
2014-12-09 10:41:03 +00:00
Vladimir Mihailenco b68ae5e548 Fix rate limiter and add test. 2014-11-13 15:08:25 +02:00
Vladimir Mihailenco f790046fea Merge pull request #50 from go-redis/fix/upgrade-to-redis-2814
Fix PubSubNumSub to work with Redis 2.8.14.
2014-11-06 13:17:51 +02:00
Vladimir Mihailenco c54b831796 Fix PubSubNumSub to work with Redis 2.8.14. 2014-11-06 13:13:24 +02:00
Vladimir Mihailenco c438d40377 Add optimization for '*' pattern in PubSubChannels. 2014-10-07 15:40:00 +03:00
Vladimir Mihailenco a11f80d9d7 Add pubsub* commands. 2014-10-07 13:56:26 +03:00
Vladimir Mihailenco dc9bffa57d Rework ZRangeWithScores. 2014-07-05 13:46:27 +03:00
Vladimir Mihailenco 72a6069cc5 Rename req to cmd. 2014-06-25 10:40:56 +03:00
Vladimir Mihailenco 3bea997988 all: switch to gopkg.in. 2014-05-11 10:44:22 +03:00
blaxill 45e45f8422 Fix ZRevRangeByScoreWithScores to return scores. 2013-06-25 11:11:07 +03:00
Vladimir Mihailenco 0bd64b143c Clean up benchmarks. 2013-04-08 12:43:38 +03:00
QLeelulu ef0cc25b9b Fix float64 formatting. 2013-03-05 12:21:42 +02:00
Vladimir Mihailenco 5a90e32c63 Add *Map commands where possible. 2013-02-02 14:17:01 +02:00
Vladimir Mihailenco e993de1033 commands: Remove Z.ScoreString method. 2012-08-25 16:34:35 +03:00
Vladimir Mihailenco 1f7cc3fea5 Update readme. 2012-08-25 15:40:49 +03:00
Vladimir Mihailenco e40a6041e1 Add SHUTDOWN command. 2012-08-25 15:35:39 +03:00
Vladimir Mihailenco 9ad848d04b Add support for scripting commands. 2012-08-20 13:42:33 +03:00
Vladimir Mihailenco 583e901221 Use IfaceSliceReq for CONFIG GET because it can return (nil) on Redis 2.4.*. 2012-08-20 00:16:26 +03:00
Vladimir Mihailenco 569b1b07ac Add BITCOUNT and BITOP commands. 2012-08-19 15:57:58 +03:00
Vladimir Mihailenco 11e1783560 Review API. 2012-08-17 21:36:48 +03:00
Vladimir Mihailenco 59f901d62f parser: greatly simplify reply parsing. 2012-08-12 21:41:44 +03:00
Vladimir Mihailenco 2f4156dd04 Extract pipeline and multi/exec support to separate files. 2012-08-11 17:42:10 +03:00
Vladimir Mihailenco 83664bb3a8 Add support for watch in transactions. 2012-08-09 17:06:26 +03:00
Vladimir Mihailenco 05223145e0 Change API and update tests. 2012-08-06 15:09:48 +03:00
Vladimir Mihailenco 19a5db6632 Add connnection pool and improve API. 2012-08-05 15:09:43 +03:00
Vladimir Mihailenco 41137c2e6f Add pipelining support. 2012-07-29 12:42:00 +03:00
Vladimir Mihailenco 4814ee7600 Add sorted sets support. 2012-07-27 17:21:50 +03:00
Vladimir Mihailenco 153bd05fb7 Fix multi/exec and add more commands. 2012-07-26 18:16:17 +03:00
Vladimir Mihailenco a74d9a5801 Initial commit. 2012-07-25 16:00:50 +03:00