Documentation ¶
Index ¶
- type Peer
- func (p *Peer) Gossip() (complete mesh.GossipData)
- func (p *Peer) Join(hosts []string)
- func (p *Peer) Members() []mesh.PeerName
- func (p *Peer) Name() mesh.PeerName
- func (p *Peer) OnGossip(buf []byte) (delta mesh.GossipData, err error)
- func (p *Peer) OnGossipBroadcast(src mesh.PeerName, buf []byte) (received mesh.GossipData, err error)
- func (p *Peer) OnGossipUnicast(src mesh.PeerName, buf []byte) error
- func (p *Peer) Router() *mesh.Router
- func (p *Peer) Send(recipient mesh.PeerName, payload []byte)
- func (p *Peer) Start()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.