// AnyMatch returns true if the connection matches any of the matcher sets
// in mss or if there are no matchers, in which case the request always
// matches. Any error terminates matching.
AnyMatch returns true if the connection matches any of the matcher sets
in mss or if there are no matchers, in which case the request always
matches. Any error terminates matching.
// AnyMatch returns true if the connection matches any of the matcher sets // in mss or if there are no matchers in which case the request always // matches . Any error terminates matching .
func (mss MatcherSets) AnyMatch(cx *Connection) (matched bool, err error) {
	for _, m := range mss {
		matched, err = m.Match(cx)
		if matched || err != nil {
			return
		}
	}
	matched = len(mss) == 0
	return
}
func ( mss MatcherSets ) AnyMatch ( cx * Connection ) ( matched bool , err error ) { for _ , m := range mss { matched , err = m . Match ( cx ) if matched || err != nil { return } } matched = len ( mss ) == 0 return }
AnyMatch returns true if the connection matches any of the matcher sets
in mss or if there are no matchers, in which case the request always
matches.
AnyMatch returns true if the connection matches any of the matcher sets in mss or if there are no matchers in which case the request always matches .