Documentation ¶
Index ¶
- Variables
- func Dial(node globals.Node) (*grpc.ClientConn, error)
- func Distribute(key *keyman.Key, peers []globals.Node, generation int) error
- func JoinCluster(password string) error
- func KSMObserver(ksm *keyman.KeyStateMachine)
- func NewGeneration(password string) (generation int64, peers []string, err error)
- func Ping()
- func RequestKeyPiece(uuid string, generation int64) (*keyman.KeyPiece, error)
- func SendKeyPiece(uuid string, generation int64, piece *keyman.KeyPiece, addElement bool) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Log *logger.ParanoidLogger
Functions ¶
func Distribute ¶
Chunks key and sends the pieces to other nodes on the network.
func JoinCluster ¶
JoinCluster is used to request to join a raft cluster
func KSMObserver ¶
func KSMObserver(ksm *keyman.KeyStateMachine)
func NewGeneration ¶
NewGeneration is used to create a new KeyPair generation in the cluster, prior to this node joining.
func RequestKeyPiece ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.