Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidIP = errors.New("invalid client IP") ErrNoPrefixMatch = errors.New("no matching prefix") ErrURLNoMatch = errors.New("URL does not match") ErrTimeNoMatch = errors.New("time does not match") ErrSizeTooSmall = errors.New("size below threshold") ErrServerNoMatch = errors.New("server does not match") )
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter struct {
Prefixes []netip.Prefix
UrlContains []string
TimeFrom time.Time
TimeTo time.Time
Threshold util.SizeFlag
Server string
}
func (*Filter) InstallFlags ¶
type GrepperConfig ¶
func DefaultConfig ¶
func DefaultConfig() GrepperConfig
func (*GrepperConfig) InstallFlags ¶
func (c *GrepperConfig) InstallFlags(flags *pflag.FlagSet)
Click to show internal directories.
Click to hide internal directories.