Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exclusion ¶
Exclusion defines an abstraction for matching paths.
func AnyExclusion ¶
AnyExclusion returns a matcher who returns true if any of the provided matchers match the string.
func AssetExclusion ¶
func AssetExclusion() Exclusion
AssetExclusion returns a matcher who returns true when an asset file is requested.
func PrefixExclusion ¶
PrefixExclusion returns a matcher who returns true if the string matches the provided prefix.
func RegexExclusion ¶
RegexExclusion returns a matcher who returns true if the string matches the provided regular expression pattern.
Click to show internal directories.
Click to hide internal directories.