Versions in this module Expand all Collapse all v0 v0.6.6 Jul 3, 2020 Changes in this version + type Mastership struct + Device topodevice.ID + Master cluster.NodeID + Term Term + type Store interface + IsMaster func(id topodevice.ID) (bool, error) + NodeID func() cluster.NodeID + Watch func(topodevice.ID, chan<- Mastership) error + func NewAtomixStore(config config.Config) (Store, error) + func NewLocalStore(clusterID string, nodeID cluster.NodeID) (Store, error) + type Term uint64