// FindByIP returns a server with the specified IP
FindByIP returns a server with the specified IP
// FindByIP returns a server with the specified IP
func (r Servers) FindByIP(ip string) *Server {
	for _, server := range r {
		if server.AdvertiseIP == ip {
			return &server
		}
	}
	return nil
}
func ( r Servers ) FindByIP ( ip string ) * Server { for _ , server := range r { if server . AdvertiseIP == ip { return & server } } return nil }
FindByIP returns a server with the specified IP
FindByIP returns a server with the specified IP