Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRules ¶
func GetRules() ([]*rule.GeneralRule, error)
func LoadAllDefaultRules ¶
func LoadAllDefaultRules() (rules []*rule.FingerPrintRule)
func LoadCPEFromWebfingerrintCPE ¶
func LoadCPEFromWebfingerrintCPE(o *webfingerprint.CPE) *rule.CPE
func SaveRules ¶
func SaveRules(rules ...rule.GeneralRule) error
Types ¶
type Matcher ¶
type Matcher struct { ErrorHandle func(error) Route func(ctx context.Context, webPath string) ([]byte, error) // contains filtered or unexported fields }
func NewMatcher ¶
func NewMatcher(rules ...*rule.FingerPrintRule) *Matcher
func (*Matcher) AddRules ¶
func (m *Matcher) AddRules(rules []*rule.FingerPrintRule)
Click to show internal directories.
Click to hide internal directories.