func (p *Peer) Register(gossip mesh.Gossip) {
	p.actions <- func() { p.gossip = gossip }
}
func (p *Peer) Register(gossip mesh.Gossip) {
	p.actions <- func() { p.gossip = gossip }
}
func ( p * Peer ) Register ( gossip mesh . Gossip ) { p . actions <- func ( ) { p . gossip = gossip } }
// Register injects the mesh.Gossip and enables full-duplex communication.
// Clients should consume from ReadFrom without blocking.
Register injects the mesh . Gossip and enables full - duplex communication . Clients should consume from ReadFrom without blocking .