Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCoordinator ¶
func NewCoordinator() core.CoordinatorService
NewCoordinator returns a new etcd coordinator instance.
Types ¶
type Coordinator ¶ added in v0.9.0
type Coordinator struct { *core.BaseCoordinator *memdb.MemDB }
func (*Coordinator) ServiceName ¶ added in v0.9.0
func (coord *Coordinator) ServiceName() string
ServiceName returns the plug-ing service name.
func (*Coordinator) Start ¶ added in v0.9.0
func (coord *Coordinator) Start() error
Start starts this etcd coordinator.
func (*Coordinator) Stop ¶ added in v0.9.0
func (coord *Coordinator) Stop() error
Stop stops this etcd coordinator.
func (*Coordinator) Transact ¶ added in v0.9.0
func (coord *Coordinator) Transact() (coordinator.Transaction, error)
Click to show internal directories.
Click to hide internal directories.