Documentation ¶
Index ¶
- Constants
- func NewFilterByName(name string, value string) (ffuf.FilterProvider, error)
- func NewLineFilter(value string) (ffuf.FilterProvider, error)
- func NewMatcherManager() ffuf.MatcherManager
- func NewRegexpFilter(value string) (ffuf.FilterProvider, error)
- func NewSizeFilter(value string) (ffuf.FilterProvider, error)
- func NewStatusFilter(value string) (ffuf.FilterProvider, error)
- func NewTimeFilter(value string) (ffuf.FilterProvider, error)
- func NewWordFilter(value string) (ffuf.FilterProvider, error)
- type LineFilter
- type MatcherManager
- func (f *MatcherManager) AddFilter(name string, option string, replace bool) error
- func (f *MatcherManager) AddMatcher(name string, option string) error
- func (f *MatcherManager) AddPerDomainFilter(domain string, name string, option string) error
- func (f *MatcherManager) Calibrated() bool
- func (f *MatcherManager) CalibratedForDomain(domain string) bool
- func (f *MatcherManager) FiltersForDomain(domain string) map[string]ffuf.FilterProvider
- func (f *MatcherManager) GetFilters() map[string]ffuf.FilterProvider
- func (f *MatcherManager) GetMatchers() map[string]ffuf.FilterProvider
- func (f *MatcherManager) RemoveFilter(name string)
- func (f *MatcherManager) SetCalibrated(value bool)
- func (f *MatcherManager) SetCalibratedForHost(host string, value bool)
- type PerDomainFilter
- type RegexpFilter
- type SizeFilter
- type StatusFilter
- type TimeFilter
- type WordFilter
Constants ¶
View Source
const AllStatuses = 0
Variables ¶
This section is empty.
Functions ¶
func NewFilterByName ¶
func NewFilterByName(name string, value string) (ffuf.FilterProvider, error)
func NewLineFilter ¶
func NewLineFilter(value string) (ffuf.FilterProvider, error)
func NewMatcherManager ¶
func NewMatcherManager() ffuf.MatcherManager
func NewRegexpFilter ¶
func NewRegexpFilter(value string) (ffuf.FilterProvider, error)
func NewSizeFilter ¶
func NewSizeFilter(value string) (ffuf.FilterProvider, error)
func NewStatusFilter ¶
func NewStatusFilter(value string) (ffuf.FilterProvider, error)
func NewTimeFilter ¶
func NewTimeFilter(value string) (ffuf.FilterProvider, error)
func NewWordFilter ¶
func NewWordFilter(value string) (ffuf.FilterProvider, error)
Types ¶
type LineFilter ¶
type LineFilter struct {
Value []ffuf.ValueRange
}
func (*LineFilter) MarshalJSON ¶
func (f *LineFilter) MarshalJSON() ([]byte, error)
func (*LineFilter) Repr ¶
func (f *LineFilter) Repr() string
func (*LineFilter) ReprVerbose ¶
func (f *LineFilter) ReprVerbose() string
type MatcherManager ¶
type MatcherManager struct { IsCalibrated bool Mutex sync.Mutex Matchers map[string]ffuf.FilterProvider Filters map[string]ffuf.FilterProvider PerDomainFilters map[string]*PerDomainFilter }
MatcherManager handles both filters and matchers.
func (*MatcherManager) AddFilter ¶
func (f *MatcherManager) AddFilter(name string, option string, replace bool) error
AddFilter adds a new filter to MatcherManager
func (*MatcherManager) AddMatcher ¶
func (f *MatcherManager) AddMatcher(name string, option string) error
AddMatcher adds a new matcher to Config
func (*MatcherManager) AddPerDomainFilter ¶
func (f *MatcherManager) AddPerDomainFilter(domain string, name string, option string) error
AddPerDomainFilter adds a new filter to PerDomainFilter configuration
func (*MatcherManager) Calibrated ¶
func (f *MatcherManager) Calibrated() bool
func (*MatcherManager) CalibratedForDomain ¶
func (f *MatcherManager) CalibratedForDomain(domain string) bool
func (*MatcherManager) FiltersForDomain ¶
func (f *MatcherManager) FiltersForDomain(domain string) map[string]ffuf.FilterProvider
func (*MatcherManager) GetFilters ¶
func (f *MatcherManager) GetFilters() map[string]ffuf.FilterProvider
func (*MatcherManager) GetMatchers ¶
func (f *MatcherManager) GetMatchers() map[string]ffuf.FilterProvider
func (*MatcherManager) RemoveFilter ¶
func (f *MatcherManager) RemoveFilter(name string)
RemoveFilter removes a filter of a given type
func (*MatcherManager) SetCalibrated ¶
func (f *MatcherManager) SetCalibrated(value bool)
func (*MatcherManager) SetCalibratedForHost ¶
func (f *MatcherManager) SetCalibratedForHost(host string, value bool)
type PerDomainFilter ¶
type PerDomainFilter struct { IsCalibrated bool Filters map[string]ffuf.FilterProvider }
func NewPerDomainFilter ¶
func NewPerDomainFilter(globfilters map[string]ffuf.FilterProvider) *PerDomainFilter
func (*PerDomainFilter) SetCalibrated ¶
func (p *PerDomainFilter) SetCalibrated(value bool)
type RegexpFilter ¶
func (*RegexpFilter) MarshalJSON ¶
func (f *RegexpFilter) MarshalJSON() ([]byte, error)
func (*RegexpFilter) Repr ¶
func (f *RegexpFilter) Repr() string
func (*RegexpFilter) ReprVerbose ¶
func (f *RegexpFilter) ReprVerbose() string
type SizeFilter ¶
type SizeFilter struct {
Value []ffuf.ValueRange
}
func (*SizeFilter) MarshalJSON ¶
func (f *SizeFilter) MarshalJSON() ([]byte, error)
func (*SizeFilter) Repr ¶
func (f *SizeFilter) Repr() string
func (*SizeFilter) ReprVerbose ¶
func (f *SizeFilter) ReprVerbose() string
type StatusFilter ¶
type StatusFilter struct {
Value []ffuf.ValueRange
}
func (*StatusFilter) MarshalJSON ¶
func (f *StatusFilter) MarshalJSON() ([]byte, error)
func (*StatusFilter) Repr ¶
func (f *StatusFilter) Repr() string
func (*StatusFilter) ReprVerbose ¶
func (f *StatusFilter) ReprVerbose() string
type TimeFilter ¶
type TimeFilter struct {
// contains filtered or unexported fields
}
func (*TimeFilter) MarshalJSON ¶
func (f *TimeFilter) MarshalJSON() ([]byte, error)
func (*TimeFilter) Repr ¶
func (f *TimeFilter) Repr() string
func (*TimeFilter) ReprVerbose ¶
func (f *TimeFilter) ReprVerbose() string
type WordFilter ¶
type WordFilter struct {
Value []ffuf.ValueRange
}
func (*WordFilter) MarshalJSON ¶
func (f *WordFilter) MarshalJSON() ([]byte, error)
func (*WordFilter) Repr ¶
func (f *WordFilter) Repr() string
func (*WordFilter) ReprVerbose ¶
func (f *WordFilter) ReprVerbose() string
Click to show internal directories.
Click to hide internal directories.