Commit Graph

277 Commits (f7444ff3002548e73e239744c9bbae2bb513401a)

Author SHA1 Message Date
Xiang Li 0aa70e125c create error map 2013-07-12 13:35:43 -07:00
Xiang Li 4b9b5d8069 merge get and list 2013-07-12 10:10:56 -07:00
Xiang Li a131632d3d error handling 2013-07-12 08:41:28 -07:00
Xiang Li 1e9307e88a clean up tree.go and watcher.go 2013-07-09 13:14:12 -07:00
Xiang Li 55146c3ece clean tree struct code 2013-07-08 21:20:50 -07:00
Xiang Li dc3844a1f8 add testAndSet Command 2013-07-08 11:00:10 -07:00
Xiang Li 93c96b3813 add list feature 2013-07-05 16:22:45 -07:00
Xiang Li b02a7d8bb4 traverse also record the key and add sorted traverse 2013-07-04 13:50:37 -07:00
Xiang Li 547ad6ee3b add func arg to traverse func 2013-07-03 15:35:25 -07:00
Xiang Li 4768b82b11 add traverse func and fix testing 2013-07-03 15:00:50 -07:00
Xiang Li 6e3379c3ef treeStruct first commit 2013-07-03 12:57:23 -07:00
Xiang Li c5901f4b88 tree store init commit 2013-07-02 18:09:54 -07:00
Xiang Li ab285a90bb using go http lib to parse post body 2013-07-01 11:16:30 -07:00
Xiang Li e211554b91 watch accept sinceIndex 2013-06-30 16:30:41 -07:00
Xiang Li a2b44bf9b7 use map to store the results. 2013-06-30 10:09:05 -07:00
Xiang Li b9a30986bb fix checking wrong index in watcher.go 2013-06-29 22:20:18 -07:00
Xiang Li 047f8ab6a8 watch sinceindex works 2013-06-29 15:29:10 -07:00
Xiang Li eef6f45e09 add ttl to response 2013-06-29 13:48:13 -07:00
Xiang Li cff78e2e5e keep index in the store 2013-06-29 13:13:51 -07:00
Xiang Li 5681e1a9d0 return command index 2013-06-29 12:49:05 -07:00
Xiang Li c2f436a58b fix redirect after seprate client and server pot 2013-06-28 15:37:29 -07:00
Xiang Li c3bfe19ae9 fix a bug in set(update node need to create a new one, not get the pointer of the node) 2013-06-20 21:34:27 -07:00
Xiang Li ef59a03fbb gofmt 2013-06-20 15:59:23 -07:00
Xiang Li 58e7b456bb redirect the join command and do not redirect other commands (let client does that) 2013-06-20 15:26:31 -07:00
Xiang Li 30da72623f add tls fetures 2013-06-19 21:03:28 -07:00
Xiang Li 74650431e9 fix a expiration bug 2013-06-18 15:04:30 -07:00
Xiang Li cc2608e9f8 add new files 2013-06-18 11:14:22 -07:00