Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExceptionModifiers ¶
type ExceptionModifiers struct {
AndModifiers []exceptionModifier
OrModifiers []exceptionModifier
}
type ExceptionRule ¶
type ExceptionRule struct {
RawRule string
FilterName *string
Modifiers ExceptionModifiers
ModifyingModifiers []rulemodifiers.ModifyingModifier
Document bool
}
func (*ExceptionRule) ParseModifiers ¶
func (er *ExceptionRule) ParseModifiers(modifiers []string) error
func (*ExceptionRule) ShouldMatchReq ¶
func (er *ExceptionRule) ShouldMatchReq(req *http.Request) bool
ShouldMatchReq returns true if the rule should match the request.
func (*ExceptionRule) ShouldMatchRes ¶
func (er *ExceptionRule) ShouldMatchRes(res *http.Response) bool
ShouldMatchRes returns true if the rule should match the response.
Click to show internal directories.
Click to hide internal directories.