Documentation ¶
Index ¶
- type HeaderMatcher
- type HostMatcher
- type Matcher
- func NewHeaderMatcher(r string) Matcher
- func NewHostMatcher(r string) Matcher
- func NewMultiHostMatcher(r string) Matcher
- func NewPathPrefixMatcher(prefix string) Matcher
- func NewPathRegexpMatcher(data string) Matcher
- func NewPathSuffixMatcher(suffix string) Matcher
- func NewPercentMatcher(data string) Matcher
- func NewQueryParamValueMatcher(r string) Matcher
- func NewQueryRawRegexpMatcher(data string) Matcher
- func NewStaticMatcher(data string) Matcher
- type MatcherFactory
- type MultiHostMatcher
- type PathPrefixMatcher
- type PathRegexpMatcher
- type PathSuffixMatcher
- type PercentMatcher
- type QueryParamValueMatcher
- type QueryRawRegexpMatcher
- type Rule
- type StaticMatcher
- type Trie
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HeaderMatcher ¶
type HostMatcher ¶
type HostMatcher struct {
Host string
}
type Matcher ¶
func NewHeaderMatcher ¶
func NewHostMatcher ¶
func NewMultiHostMatcher ¶
func NewPathPrefixMatcher ¶
func NewPathRegexpMatcher ¶
func NewPathSuffixMatcher ¶
func NewPercentMatcher ¶
func NewStaticMatcher ¶
type MatcherFactory ¶
type MatcherFactory struct {
// contains filtered or unexported fields
}
func DefaultMatcherFactory ¶
func DefaultMatcherFactory() *MatcherFactory
func NewMatcherFactory ¶
func NewMatcherFactory() *MatcherFactory
func (*MatcherFactory) Register ¶
func (f *MatcherFactory) Register(kind string, maker matcherMaker)
type MultiHostMatcher ¶
type MultiHostMatcher struct {
Hosts []string
}
type PathPrefixMatcher ¶
type PathPrefixMatcher struct {
Prefix string
}
type PathRegexpMatcher ¶
type PathSuffixMatcher ¶
type PathSuffixMatcher struct {
Suffix string
}
type PercentMatcher ¶
type QueryParamValueMatcher ¶
type QueryRawRegexpMatcher ¶
type Rule ¶
type StaticMatcher ¶
type Trie ¶
func (*Trie) UpdateRule ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.