package
3.0.0+incompatible
Repository: https://github.com/ldsec/medco.git
Documentation: pkg.go.dev

# Functions

NewPropagationFunc registers a new protocol name with the context c and will set f as handler for every new instance of that protocol.
NewPropagationFuncTest takes two callbacks for easier testing without a `service.NewProtocl`.
NewPropagationProtocol creates a new protocl for propagation.

# Structs

Propagate is a protocol that sends some data to all attached nodes and waits for confirmation before returning.
PropagateReply is sent from the children back to the root.
PropagateSendData is the message to pass the data to the children.

# Type aliases

PropagationFunc starts the propagation protocol and blocks until all children minus the exception stored the new value or the timeout has been reached.
PropagationMultiMsg is the function that will store the new data.
PropagationOneMsg is the function that will store the new data.
PropagationOneMsgSend is the function that will store the new data.