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
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
981351c9d9
use type inheritance
2013-08-17 08:30:31 -07:00
ca4b5815f7
make raft and etcd server
2013-08-17 08:30:31 -07:00
177854c3e1
add test package. do not compile test codes with etcd
2013-08-17 08:30:31 -07:00
cb33641f5f
clean up
2013-08-17 08:30:30 -07:00
6299f316f1
use check util
2013-08-13 11:52:55 -07:00
3102420542
use infof instead of fmt.Printf
2013-08-13 11:52:55 -07:00
339d8b435d
move to util
2013-08-13 11:52:55 -07:00
58e9e0c557
add comments in snapshot.go
2013-08-12 10:41:44 -07:00
32d1681b6b
change name to url in http handlers
2013-08-12 10:16:30 -07:00
ba697f6ac9
fix web
2013-08-10 16:20:00 -07:00
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
fd1d908e79
fix typos
2013-07-16 01:04:41 +02:00
f5796244b4
clean up etcd.go
2013-07-09 20:37:00 -07:00
5749b9db50
clean up transporter.go
2013-07-09 14:55:45 -07:00
2589a76d66
add [etcd] as the prefix of the logging info
2013-07-09 09:26:38 -07:00
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
6edce10980
close resp body, close snapshot
2013-07-03 11:22:52 -07:00
c2f436a58b
fix redirect after seprate client and server pot
2013-06-28 15:37:29 -07:00
e3d556c319
seprate client and server port
2013-06-28 14:17:16 -07:00