Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Listener ¶
func Listener(sync *replication.Sync, frame *network.Frame, input <-chan *network.Blobs) <-chan *network.Blobs
Listener listens to the incoming requests and sends missing blobs to the nodes
func Reconstruct ¶
func Reconstruct(frame *network.Frame, input <-chan *network.Blobs, sync *replication.Sync, outputConn net.PacketConn) chan *network.Blobs
Reconstruct runs the reconstruction fo the missing blobs
Types ¶
type Request ¶
type Request struct { Index uint64 From *replication.NodeData }
Request is a struct to request missing blobs from other nodes.
func (*Request) Deserialize ¶
Deserialize deserializes request structure from blob
Click to show internal directories.
Click to hide internal directories.