func (d *topologyGossipData) Merge(other GossipData) GossipData {
	names := make(peerNameSet)
	for name := range d.update {
		names[name] = struct{}{}
	}
	for name := range other.(*topologyGossipData).update {
		names[name] = struct{}{}
	}
	return &topologyGossipData{peers: d.peers, update: names}
}
func (d *topologyGossipData) Merge(other GossipData) GossipData {
	names := make(peerNameSet)
	for name := range d.update {
		names[name] = struct{}{}
	}
	for name := range other.(*topologyGossipData).update {
		names[name] = struct{}{}
	}
	return &topologyGossipData{peers: d.peers, update: names}
}
func ( d * topologyGossipData ) Merge ( other GossipData ) GossipData { names := make ( peerNameSet ) for name := range d . update { names [ name ] = struct { } { } } for name := range other . ( * topologyGossipData ) . update { names [ name ] = struct { } { } } return & topologyGossipData { peers : d . peers , update : names } }
// Merge implements GossipData.
Merge implements GossipData .