func (l *RootPeerList) GetOrAdd(hostPort string) *Peer {
	peer, ok := l.Get(hostPort)
	if ok {
		return peer
	}

	return l.Add(hostPort)
}
func (l *RootPeerList) GetOrAdd(hostPort string) *Peer {
	peer, ok := l.Get(hostPort)
	if ok {
		return peer
	}

	return l.Add(hostPort)
}
func ( l * RootPeerList ) GetOrAdd ( hostPort string ) * Peer { peer , ok := l . Get ( hostPort ) if ok { return peer } return l . Add ( hostPort ) }
// GetOrAdd returns a peer for the given hostPort, creating one if it doesn't yet exist.
GetOrAdd returns a peer for the given hostPort creating one if it doesn t yet exist .