Brandon Philips
bfeed190ea
feat(etcd): Default server listen and client listen to advertised IPs
...
Map the advertised IP to the listening IP by default. This will make
things nicer for the user.
2013-08-31 22:28:25 -07:00
Brandon Philips
351e84aece
feat(etcd): add listen host parameter
...
this separates out the listening IP from the advertised IP. This is
necessary so that we can hit etcd on 127.0.0.1 but also advertise the
right IP to the rest of the cluster.
2013-08-23 13:07:15 -07:00
Xiang Li
981351c9d9
use type inheritance
2013-08-17 08:30:31 -07:00
Xiang Li
ca4b5815f7
make raft and etcd server
2013-08-17 08:30:31 -07:00
Xiang Li
177854c3e1
add test package. do not compile test codes with etcd
2013-08-17 08:30:31 -07:00
Xiang Li
cb33641f5f
clean up
2013-08-17 08:30:30 -07:00
Fabrizio (Misto) Milo
6299f316f1
use check util
2013-08-13 11:52:55 -07:00
Fabrizio (Misto) Milo
3102420542
use infof instead of fmt.Printf
2013-08-13 11:52:55 -07:00
Fabrizio (Misto) Milo
339d8b435d
move to util
2013-08-13 11:52:55 -07:00
Xiang Li
58e9e0c557
add comments in snapshot.go
2013-08-12 10:41:44 -07:00
Xiang Li
32d1681b6b
change name to url in http handlers
2013-08-12 10:16:30 -07:00
Xiang Li
ba697f6ac9
fix web
2013-08-10 16:20:00 -07:00
Cong Ding
13af54fdd0
revise log handling
...
All the log-related operations are calling functions in util.go. This makes
the consistancy of the logs.
2013-08-01 23:28:03 +02:00
Cong Ding
fd1d908e79
fix typos
2013-07-16 01:04:41 +02:00
Xiang Li
f5796244b4
clean up etcd.go
2013-07-09 20:37:00 -07:00
Xiang Li
5749b9db50
clean up transporter.go
2013-07-09 14:55:45 -07:00
Xiang Li
2589a76d66
add [etcd] as the prefix of the logging info
2013-07-09 09:26:38 -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
6edce10980
close resp body, close snapshot
2013-07-03 11:22:52 -07:00
Xiang Li
c2f436a58b
fix redirect after seprate client and server pot
2013-06-28 15:37:29 -07:00
Xiang Li
e3d556c319
seprate client and server port
2013-06-28 14:17:16 -07:00