Commit Graph

108 Commits

Author SHA1 Message Date
a42d52482c etcdserver: use simple PRNG for GenID 2014-09-17 15:29:14 -07:00
ab61a8aa9a *: init for on disk snap support 2014-09-17 13:56:12 -07:00
023dc7cba2 etcdserver: add SYNC request 2014-09-16 13:42:03 -07:00
8a5ab2ec06 etcdserver: introduce Server interface
This changes etcdserver.Server to an interface, with the former Server
(now "EtcdServer") becoming the canonical/production implementation.
This will facilitate better testing of the http server et al with mock
implementations of the interface.
It also more clearly defines the boundary for users of the Server.
2014-09-15 15:11:01 -07:00
6cd4434ff3 server: add unit tests
Make test coverage >= 90%
2014-09-15 13:16:48 -07:00
f7444ff300 store: convert Watch to interface 2014-09-09 11:17:53 -07:00
d844377ca6 *: vendor context 2014-09-03 20:06:16 -07:00
2ba57ee75d *: remove unused pkgs 2014-09-03 09:20:20 -07:00