Documentation ¶
Overview ¶
Package servemux contains a filter that executes modifiers when there is a pattern match in a mux.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Matcher ¶
type Matcher struct {
// contains filtered or unexported fields
}
Matcher is a conditional evaluator of request urls against patterns registered in mux.
func NewMatcher ¶
NewMatcher builds a new servemux.Matcher.
func (*Matcher) MatchRequest ¶
MatchRequest returns true if the request URL matches any pattern in mux. If no pattern is matched, false is returned.
Click to show internal directories.
Click to hide internal directories.