func (s *Server) MatchAgainst(labels map[string]string) bool {
	if labels != nil {
		myLabels := s.LabelsMap()
		for key, value := range labels {
			if myLabels[key] != value {
				return false
			}
		}
	}
	return true
}
// MatchAgainst takes a map of labels and returns True if this server
// has ALL of them
//
// Any server matches against an empty label set
MatchAgainst takes a map of labels and returns True if this server
has ALL of them

Any server matches against an empty label set
// MatchAgainst takes a map of labels and returns True if this server // has ALL of them // // Any server matches against an empty label set
func (s *Server) MatchAgainst(labels map[string]string) bool {
	if labels != nil {
		myLabels := s.LabelsMap()
		for key, value := range labels {
			if myLabels[key] != value {
				return false
			}
		}
	}
	return true
}
func ( s * Server ) MatchAgainst ( labels map [ string ] string ) bool { if labels != nil { myLabels := s . LabelsMap ( ) for key , value := range labels { if myLabels [ key ] != value { return false } } } return true }
MatchAgainst takes a map of labels and returns True if this server
has ALL of them
MatchAgainst takes a map of labels and returns True if this server has ALL of them