Versions in this module Expand all Collapse all v0 v0.4.4 Dec 19, 2021 v0.4.3 Dec 16, 2021 Changes in this version + const BoolMark + const ChineseMark + const CustomValueMark + const FixParamRepeatMark + const FixPathMark + const ListMark + const LowerMark + const MaxParamKeyAllCount + const MaxParamKeySingleCount + const MaxParentPathCount + const MaxPathParamEmptyCount + const MaxPathParamKeySymbolCount + const MixAlphaNumMark + const MixNumMark + const MixStringMark + const MixSymbolMark + const NoLowerAlphaMark + const NumberMark + const TimeMark + const TooLongMark + const UnicodeMark + const UpperMark + const UrlEncodeMark + var OneNumberRegex = regexp.MustCompile(`[0-9]`) + type SimpleFilter struct + HostLimit string + UniqueSet mapset.Set + func (s *SimpleFilter) DoFilter(req *model.Request) bool + func (s *SimpleFilter) DomainFilter(req *model.Request) bool + func (s *SimpleFilter) StaticFilter(req *model.Request) bool + func (s *SimpleFilter) UniqueFilter(req *model.Request) bool + type SmartFilter struct + SimpleFilter SimpleFilter + StrictMode bool + func (s *SmartFilter) DoFilter(req *model.Request) bool + func (s *SmartFilter) Init() + func (s *SmartFilter) MarkPath(path string) string