Commit Graph

146 Commits

Author SHA1 Message Date
wenyekui 693bcf32f4 change import path of bson lib 2014-08-11 10:08:41 +08:00
siddontang 5cdd6f2358 all package use same config struct
add toml support
2014-08-07 16:49:48 +08:00
wenyekui 8c9ddb72ea Delete http_interface.md 2014-08-04 14:37:06 +08:00
siddontang 7485899c17 update doc 2014-08-04 14:13:35 +08:00
wenyekui ab189ffe40 add return statement 2014-08-04 11:37:21 +08:00
wenyekui 5c3872ce68 Merge branch 'restful-feature' into develop
Conflicts:
	bootstrap.sh
	server/cmd_bit.go
	server/cmd_kv.go
	server/cmd_zset.go
2014-08-04 11:26:08 +08:00
wenyekui 6c88687ebf add quit commands 2014-08-04 11:06:28 +08:00
wenyekui 828b74e2d5 update doc.go 2014-08-04 10:47:10 +08:00
wenyekui 93761d8ff3 http interface: unsupport repl cmds 2014-08-04 10:38:43 +08:00
wenyekui 1655f48652 modify remote addr 2014-08-04 10:28:09 +08:00
wenyekui 9ad7095e2d modify accesslog format 2014-08-04 10:17:30 +08:00
wenyekui 9c5ade8ee3 add document: http_interface.md 2014-08-04 09:44:58 +08:00
wenyekui 3b89543de6 fix argument checking 2014-08-01 16:03:51 +08:00
wenyekui 6947255c22 put args into reqContext 2014-08-01 15:22:24 +08:00
wenyekui 33a2e6afb9 http interface: not support cmds of repl 2014-08-01 15:01:16 +08:00
wenyekui 95b6dd88fa ignorecase 2014-08-01 14:27:34 +08:00
wenyekui b5e5b787d6 modify argument checking 2014-08-01 14:18:07 +08:00
wenyekui 2166c6ff19 add a extra bool value when returning status 2014-08-01 11:59:16 +08:00
wenyekui a88c8c46d8 rm server/http 2014-08-01 11:43:05 +08:00
wenyekui e46554e9f6 refactor http interface 2014-08-01 11:42:16 +08:00
silentsai d0e7698984 cut async feature from request handler 2014-08-01 09:38:08 +08:00
silentsai 715e35098c seperate the behavior from client : client input , request handle 2014-07-31 18:28:19 +08:00
silentsai 14767ecadb abstract the read / write in server client 2014-07-31 14:38:20 +08:00
holys 781c18333b remove foolish code 2014-07-29 20:08:20 +08:00
holys 2f3d86cfaf Merge branch 'develop' of https://github.com/siddontang/ledisdb into develop
Conflicts:
	Makefile
2014-07-29 16:22:10 +08:00
wenyekui 895613ca5b Update readme.md 2014-07-29 15:33:35 +08:00
wenyekui d4da8fab69 Update readme.md 2014-07-29 15:31:50 +08:00
wenyekui 7ba2cc6d61 add readme 2014-07-29 15:27:43 +08:00
wenyekui f8e9308a0d cancel supporting websocket 2014-07-29 11:02:13 +08:00
wenyekui fab9d46c4d unit test of zset 2014-07-28 16:35:46 +08:00
holys d1362552c0 add more error input params tests 2014-07-28 01:58:55 +08:00
siddontang efa8e850f5 Merge branch 'storage-feature' into develop 2014-07-26 18:43:23 +08:00
siddontang e073396481 update store 2014-07-26 00:46:03 +08:00
siddontang 727286d1ac mdv update 2014-07-25 23:40:10 +08:00
siddontang 7a237661da add support for multi storage 2014-07-25 17:58:00 +08:00
wenyekui a586fa2f8f add unit tests 2014-07-25 17:27:07 +08:00
holys fe881ba03c add errer input params test for kv; fix typo for t_kv.go 2014-07-25 17:26:29 +08:00
wenyekui deb30383c6 add unit test 2014-07-25 16:17:45 +08:00
wenyekui ee690fd35c add unit test 2014-07-25 15:18:39 +08:00
wenyekui 42174ed78a unit test for cmd_hash.go 2014-07-25 11:55:56 +08:00
wenyekui c0f3c54f3b unit tests of cmd_bit 2014-07-24 17:19:44 +08:00
wenyekui 58cdace7df modify unit test 2014-07-24 15:36:25 +08:00
wenyekui ebdc1ee3ae support bson, msgpack 2014-07-24 15:06:39 +08:00
wenyekui 3f3ca8da63 modify error msg 2014-07-24 11:41:53 +08:00
wenyekui a6a760880d complete apis for the rest of cmds 2014-07-24 11:29:13 +08:00
wenyekui 0d01d7e7ed bug fix: argument checking of funtion 2014-07-23 17:10:06 +08:00
wenyekui f647c3d815 add file 2014-07-23 11:02:10 +08:00
wenyekui 1dd7d22198 add unit test 2014-07-23 10:59:37 +08:00
siddontang f95494386a update config 2014-07-23 08:30:00 +08:00
siddontang 7a763da082 change configuration
Config struct now not includes other configs, but shows all

People can see configuration clearly
2014-07-23 07:55:40 +08:00
wenyekui 43905129b8 use '[]byte()' to convert string to []byte 2014-07-22 15:43:22 +08:00
wenyekui 1513d055f5 http api of bit cmds 2014-07-22 11:31:56 +08:00
siddontang f85da1db91 add base http framework 2014-07-17 15:19:46 +08:00
holys 633ced379c fix bitmap test 2014-07-17 00:44:40 +08:00
holys 8be1cf8b54 rename Bin to Bit 2014-07-13 00:31:30 +08:00
siddontang ac5c64aab8 add MasterInfo for replication 2014-07-11 16:57:19 +08:00
siddontang a41b1ef669 refactor, bin rename to bit, rename datatype 2014-07-11 13:27:40 +08:00
siddontang 55056660e3 add ledis-dump tool 2014-07-11 10:43:42 +08:00
silentsai febe8ee93d merge branch 'bin-feature' 2014-07-08 17:10:44 +08:00
siddontang 64a4fee577 replication use snappy 2014-07-04 17:55:47 +08:00
siddontang 6adfb1be98 adjust Open interface, not backwards compatibility 2014-07-04 15:45:23 +08:00
siddontang 38f741ddb1 use go-log and adjust some param name
go-log now has a well document.
it can be used directly.

limit may cause confused, use count instead
2014-07-04 13:27:57 +08:00
siddontang 1e6bcc6a50 bugfix for revrangebyscore command
min and max score param position may be same as redis
2014-07-01 07:55:34 +08:00
siddontang e5c9ad8716 expire bug fix 2014-06-30 11:23:14 +08:00
siddontang 46d2ecda91 add hmclear, lmclear and zmclear for multi keys 2014-06-27 16:28:32 +08:00
siddontang d85d65d0f2 update doc 2014-06-25 12:57:19 +08:00
siddontang 31e70ccd02 add persist command 2014-06-24 12:44:47 +08:00
siddontang 794cb12ba4 update document 2014-06-22 21:13:57 +08:00
siddontang d45a82897f update document 2014-06-22 21:05:52 +08:00
siddontang cdb78498af ledis use proper return values not []interface{}
This is a very big change and not backward compatible
2014-06-22 15:25:51 +08:00
siddontang 594f6a5d0d use ledis client 2014-06-22 10:39:23 +08:00
siddontang 9e09e607c8 heel use iterator to multi find and delete 2014-06-20 10:12:50 +08:00
siddontang c5af770387 use my own log 2014-06-19 17:50:27 +08:00
siddontang 50bd648e0c copy garyburd redid lib to client 2014-06-19 17:46:20 +08:00
siddontang 48e09a2727 use our own leveldb 2014-06-19 17:19:40 +08:00
silentsai 852fce9f4c add server commands of expire/ttl 2014-06-16 19:24:37 +08:00
siddontang 9e3dfc2191 replication bugfix 2014-06-12 21:29:41 +08:00
siddontang 8592324a2f optimize access log 2014-06-12 14:10:29 +08:00
siddontang 5a902fc9d1 set args must be 2 2014-06-11 16:49:17 +08:00
siddontang 655db07604 add access log 2014-06-11 16:48:11 +08:00
siddontang 00b5fb4b24 a liitle change 2014-06-11 14:52:34 +08:00
siddontang ebd15e5738 add replication test 2014-06-10 10:41:50 +08:00
siddontang ef22d7000d add replication, test later 2014-06-09 17:23:32 +08:00
siddontang 993ccdd052 add flushall, some replication 2014-06-08 16:43:59 +08:00
siddontang 664a082c06 refactor replication, deprecate relaylog 2014-06-07 16:56:22 +08:00
siddontang 8fab454223 adjust config, add some replication fund 2014-06-06 14:57:30 +08:00
siddontang 68c63c416a adjust config 2014-06-06 11:25:13 +08:00
siddontang 5d466fb82f add data_dir, like mysql to store all data 2014-06-06 10:34:57 +08:00
silentsai d0e15d4c1d fix bug - unify the return score type to bluk while call rangeXXX 2014-06-05 11:49:12 +08:00
silentsai dee78beef1 fix the type of return value from zscore command 2014-06-05 10:20:50 +08:00
silentsai 4a5f105449 change the type of return score 2014-06-04 18:32:23 +08:00
siddontang f404e35142 remove scan cmd, we implement a little diff 2014-05-23 12:39:56 +08:00
siddontang 81a5587c99 add simple support for kv scan 2014-05-23 11:44:50 +08:00
siddontang 7e88d0b563 use go-log instead go lib log 2014-05-23 10:17:09 +08:00
siddontang d86c6251fb refactor, support select command 2014-05-20 08:41:24 +08:00
siddontang a0f90016d4 refactor, split ledis pkg to ledis and server 2014-05-16 15:03:23 +08:00