GetPeer returns a peer with the peer id
(id uint64)
| 178 | |
| 179 | // GetPeer returns a peer with the peer id |
| 180 | func (this *NetServer) GetPeer(id uint64) *peer.Peer { |
| 181 | return this.Np.GetPeer(id) |
| 182 | } |
| 183 | |
| 184 | //return nbr peers collection |
| 185 | func (this *NetServer) GetNp() *peer.NbrPeers { |