// SetServer sets the Peer this Peer is connected to
// if this Peer is not a server
SetServer sets the Peer this Peer is connected to
if this Peer is not a server
// SetServer sets the Peer this Peer is connected to // if this Peer is not a server
func (p *Peer) SetServer(s *Peer) {
	p.srvMu.Lock()
	defer p.srvMu.Unlock()
	p.srv = s
}
func ( p * Peer ) SetServer ( s * Peer ) { p . srvMu . Lock ( ) defer p . srvMu . Unlock ( ) p . srv = s }
SetServer sets the Peer this Peer is connected to
if this Peer is not a server
SetServer sets the Peer this Peer is connected to if this Peer is not a server