Ben Johnson
e7598075ac
Use raft.Server interface.
2013-10-14 13:51:20 -06:00
Xiang Li
cf2d6888c2
add error package
2013-08-17 20:41:15 -07:00
Xiang Li
ba697f6ac9
fix web
2013-08-10 16:20:00 -07:00
Brandon Philips
0e5ee2742d
fix(web): don't share the DefaultMux
...
All of the web handlers were sharing one mux. Separate them out into
individual muxes.
2013-08-10 10:54:59 -07:00
Xiang Li
ce3c55ba3f
refactor
2013-08-09 23:03:49 -07:00
Brandon Philips
a19048841f
feat(trasnport): add an independent node name
...
Don't let the raft algorithm know anything about the transport. Give it
a nodename instead. This will allow us to support more complex
networking setups in the future.
2013-08-09 17:09:57 -07:00
Xiang Li
494b35596b
use doozer's file2gostring to provide html temp as go string
2013-07-10 09:47:30 -07:00
Xiang Li
9146fbf120
clean web
2013-07-09 22:08:32 -07:00
Xiang Li
f5796244b4
clean up etcd.go
2013-07-09 20:37:00 -07:00
Xiang Li
e2f0420862
change imports to coreos/etcd coreos/go-raft; change API to work with new go-raft
2013-07-08 09:41:04 -07:00
Xiang Li
6e3379c3ef
treeStruct first commit
2013-07-03 12:57:23 -07:00
Xiang Li
e3d556c319
seprate client and server port
2013-06-28 14:17:16 -07:00
Xiang Li
e91ea7be38
use xiangli-cmu/go-raft as the raft lib
2013-06-28 09:58:41 -07:00
Xiang Li
ef59a03fbb
gofmt
2013-06-20 15:59:23 -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