package
Version:
v0.0.0-...-fe73bcc
Opens a new window with list of versions in this module.
Published: Nov 18, 2018
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package basic implements single decree paxos algorithm.
Node implements basic-paxos algorithm.
New Instantiates a basic-paxos node.
func (n *Node) Decide(f func(interface{}))
Decide registers the decide handler.
func (n *Node) Propose(v interface{})
Propose proposes value v for consensus
Source Files
¶
Click to show internal directories.
Click to hide internal directories.