Add leadership election

Signed-off-by: Emile Vauge <emile@vauge.com>
This commit is contained in:
Emile Vauge 2016-08-18 13:03:10 +02:00
parent 5a0440d6f8
commit bea5ad3f13
No known key found for this signature in database
GPG key ID: D808B4C167352E59
7 changed files with 138 additions and 29 deletions

View file

@ -202,7 +202,7 @@ type Store struct {
// Cluster holds cluster config
type Cluster struct {
Node string
Store Store
Store *Store
}
// Auth holds authentication configuration (BASIC, DIGEST, users)