func (cm *connectionMaker) ForgetConnections(peers []string) {
	cm.actionChan <- func() bool {
		for _, peer := range peers {
			delete(cm.directPeers, peer)
		}
		return true
	}
}
func (cm *connectionMaker) ForgetConnections(peers []string) {
	cm.actionChan <- func() bool {
		for _, peer := range peers {
			delete(cm.directPeers, peer)
		}
		return true
	}
}
func ( cm * connectionMaker ) ForgetConnections ( peers [ ] string ) { cm . actionChan <- func ( ) bool { for _ , peer := range peers { delete ( cm . directPeers , peer ) } return true } }
// ForgetConnections removes direct connections to the provided peers,
// specified in host:port format.
//
// TODO(pb): Weave Net invokes router.ConnectionMaker.ForgetConnections;
// it may be better to provide that on Router directly.
ForgetConnections removes direct connections to the provided peers specified in host : port format . TODO ( pb ) : Weave Net invokes router . ConnectionMaker . ForgetConnections ; it may be better to provide that on Router directly .