func (d *Discovery) shouldWatch(name string, tags []string) bool {
	return d.shouldWatchFromName(name) && d.shouldWatchFromTags(tags)
}
func (d *Discovery) shouldWatch(name string, tags []string) bool {
	return d.shouldWatchFromName(name) && d.shouldWatchFromTags(tags)
}
func ( d * Discovery ) shouldWatch ( name string , tags [ ] string ) bool { return d . shouldWatchFromName ( name ) && d . shouldWatchFromTags ( tags ) }
// shouldWatch returns whether the service of the given name should be watched.
shouldWatch returns whether the service of the given name should be watched .