Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InvalidPatternError = errors.New("invalid pattern")
Functions ¶
This section is empty.
Types ¶
type URLPattern ¶
type URLPattern struct { Cookie interface{} // contains filtered or unexported fields }
func Match ¶
func Match(patterns []*URLPattern, url *url.URL) *URLPattern
func NewURLPattern ¶
func NewURLPattern(pattern string) (*URLPattern, error)
Click to show internal directories.
Click to hide internal directories.