func (peer *localPeer) ConnectionTo(name PeerName) (Connection, bool) {
	peer.RLock()
	defer peer.RUnlock()
	conn, found := peer.connections[name]
	return conn, found // yes, you really can't inline that. FFS.
}
func (peer *localPeer) ConnectionTo(name PeerName) (Connection, bool) {
	peer.RLock()
	defer peer.RUnlock()
	conn, found := peer.connections[name]
	return conn, found 
}
func ( peer * localPeer ) ConnectionTo ( name PeerName ) ( Connection , bool ) { peer . RLock ( ) defer peer . RUnlock ( ) conn , found := peer . connections [ name ] return conn , found // yes, you really can't inline that. FFS. }
// ConnectionTo returns the connection to the named peer, if any.
//
// TODO(pb): Weave Net invokes router.Ourself.ConnectionTo;
// it may be better to provide that on Router directly.
ConnectionTo returns the connection to the named peer if any . TODO ( pb ) : Weave Net invokes router . Ourself . ConnectionTo ; it may be better to provide that on Router directly .