//
pkg.gl
Category
github.com/kubeshark/martian/v3
servemux
package
3.4.1
Repository:
https://github.com/kubeshark/martian.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
2
Files
44 SLOC
#
Functions
NewFilter
NewFilter constructs a filter that applies the modifier when the request url matches a pattern in mux.
NewMatcher
NewMatcher builds a new servemux.Matcher.
#
Structs
Filter
Filter is a modifier that executes mod if a pattern is matched in mux.
Matcher
Matcher is a conditional evaluator of request urls against patterns registered in mux.