Documentation
¶
Index ¶
Constants ¶
View Source
const MaxHeaderValue = 1024
Maximum header value size before we return an instant negative match. They shouldn't go beyond this size in most cases anywho.
Variables ¶
View Source
var ErrLargeHeaderValue = errors.New("header value too large")
ErrLargeHeaderValue is returned on attempting to match on a value > MaxHeaderValue.
Functions ¶
This section is empty.
Types ¶
type Filters ¶
type Filters []headerfilter
Filters represents a set of http.Header regular expression filters built-in statistic tracking.
func (Filters) InverseMatch ¶
InverseMatch returns whether any values in http header do NOT match any of the receiving filter regular expressions. This returns the matched header key, and matching regexp.
Click to show internal directories.
Click to hide internal directories.