Commit Graph

264 Commits

Author SHA1 Message Date
re 2ff8098b91 upd 2023-02-15 10:41:45 +03:00
Lunny Xiao 1ee5a02c6c
Fix some lint error (#385)
* Fix some lint error

* Fix misspell

* Improve make lint
2020-05-10 18:17:39 +08:00
Lunny Xiao 72deb0e7c7
Implement LSET command for ledis server (#384) 2020-05-10 12:57:04 +08:00
Lunny Xiao 4c786878af
Fix gomod (#379) 2020-04-24 14:10:03 +08:00
Lunny Xiao 3c399e1b38
Add vet check and fix some vet errors (#374) 2020-04-24 13:07:38 +08:00
Vojtech Vitek d2af45e3fb Add server.ledisdb_version to the INFO command (#343) 2018-04-17 22:13:38 +08:00
siddontang 0c604eb684
fix vet and lint (#337) 2018-03-29 20:33:36 +08:00
benjafire 36de957bf3 add replaciton master auth support (#336) 2018-03-28 17:50:05 +08:00
Glen De Cauwsemaecker 015411f5ce add redis-compatible HSCAN/SSCAN/ZSCAN commands (#321) 2017-10-30 16:39:51 +08:00
Muhamad Azmy 0cb8e1a348 Fix TTL issue in RPOPLPUSH command family (#304) 2017-06-20 07:59:48 +08:00
Muhamad Azmy bc27c99e3c TLS support (#302) 2017-06-12 08:05:42 +08:00
Muhamad Azmy 74d1db9b35 Custom auth method (#301) 2017-06-08 23:01:11 +08:00
Muhamad Azmy 0b1b6de120 Add support for brpoplpush and rpoplpush commands (#295) 2017-05-18 20:07:40 +08:00
Glen De Cauwsemaecker 5835ab9b2b fix error messages to be redis compliant (#293) 2017-04-18 11:38:01 +08:00
Glen De Cauwsemaecker 80ea7b8bca allocate local port dynamically, fixes #290 (#292) 2017-04-16 10:37:47 +08:00
Glen De Cauwsemaecker 9f6a59ea1a Feature: Pure Go Lua (VM) (#291) 2017-04-15 21:51:03 +08:00
Glen De Cauwsemaecker 3480a28731 support redis as a global var in lua scripts (#289)
by supporting both ledis and redis as the global lua script var,
we keep ledis support as it is, while also supporting redis clients,
which will be sending scripts, whilst assuming redis is the global
2017-04-13 09:08:58 +08:00
siddontang f79c9a1f09 remove no need codes. 2017-03-14 22:26:07 +08:00
siddontang 3970f8e4f4 use glide and refactor (#281) 2017-03-12 18:05:35 +08:00
siddontang ca344836ab use vendor and do clean up. (#241)
* use vendor and do clean up.
2016-05-01 23:33:02 +08:00
Nikolay Turpitko f08763cf37 Update script.go
OK then. I removed my comments, for bool code should work as is.
2016-01-22 16:57:52 +05:00
Nikolay Turpitko b2f90f832a Lua script, HMGET, value for absent key #219 2016-01-21 23:48:19 +06:00
Nikolay Turpitko e48663b03a RESP writer test 2016-01-21 22:07:36 +06:00
Nikolay Turpitko e9bca10875 Convert commands to lowercase before use as a key in the map 2016-01-21 17:46:44 +06:00
jiangyangdong 7ab79cfb16 add ltrim command 2015-11-27 09:33:25 +08:00
Nikolay Turpitko e0ee542c77 Remove unnecessary type conversion 2015-11-23 22:41:20 +05:00
Nikolay Turpitko 316ba29713 Add config param for unix socket permission (issue #203) 2015-11-23 23:30:30 +06:00
shaoguang de8cb364fc add ltrim_front and ltrim_back command, imitation ssdb's qtrim_front and qtrim_back commands 2015-10-12 22:00:53 +08:00
shaoguang ac9fc95470 fix access log bug 2015-10-06 17:20:32 +08:00
Russell Smith 8c23730bde Fix serious issue with auth 2015-09-13 00:13:02 -07:00
Russell Smith 7e4bc199fb Use more standard go; camel case 2015-09-12 19:50:56 -07:00
Russell Smith d48cb8c773 Make the auth stuff simpler - just have a password 2015-09-12 19:35:08 -07:00
Russell Smith 623794feb2 Attempt at Auth :) 2015-09-12 17:47:10 -07:00
siddontang cf1db90381 fix shutdown, windows has no kill function 2015-06-18 16:23:56 +08:00
siddontang eee7468b85 format with goimports 2015-05-04 22:42:28 +08:00
siddontang 9bfd3b2208 support shutdown command 2015-05-03 11:19:31 +08:00
siddontang 6b7ab2b02d use goredis to parse RESP request 2015-03-23 19:50:37 +08:00
siddontang c412943bf8 rename XUSE to XSELECT 2015-03-22 08:39:20 +08:00
siddontang 5223f5d8eb support XUSE db THEN command
To solve https://github.com/siddontang/ledisdb/issues/149, but I prefer
XUSE db THEN command like IFFFT, aha.
2015-03-21 20:33:57 +08:00
siddontang b36d4aba37 move some pkgs to vendor
godep can not handle some pkgs which have build tags

So we put these into vendor explicitly
2015-03-14 10:57:18 +08:00
siddontang dddbd5f146 remove begin, commit, rollback
simplify codes and features now, we don’t use transaction never, and it
is not universal for all backend storages and even introduces
complexity.
2015-03-14 09:10:00 +08:00
siddontang 186ed2f84f use goredis client 2015-03-11 11:54:02 +08:00
siddontang ce8e0d4fdc retry migration when key is in migrating 2015-03-09 10:00:29 +08:00
siddontang 4eeaffbc00 simplify migration code
handle ALL for xmigrate type
2015-03-07 16:51:27 +08:00
siddontang c6c82b979d Use key lock when migration
https://github.com/siddontang/ledisdb/issues/141

Now migration is only safe for xcodis, but I think it does not matter.
2015-03-07 12:47:35 +08:00
siddontang 91cdeeac16 scan support sac and desc
https://github.com/siddontang/ledisdb/issues/138
2015-03-05 15:49:08 +08:00
siddontang 2a4d9d5bc7 bugfix config 256 databases 2015-03-04 17:46:40 +08:00
siddontang 71b32895b8 add key exists for hash, list, set and zset 2015-03-04 09:33:25 +08:00
siddontang c69f803f37 support configuring databases 2015-03-04 09:15:28 +08:00
siddontang 18362ffba4 move go ledis client 2015-03-03 10:18:54 +08:00