Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrFileRead means file read error. ErrFileRead = errors.New("worker: file read error") // ErrYrScan means yr scan error. ErrYrScan = errors.New("worker: yr scan error") )
Functions ¶
func MatchesToStr ¶ added in v1.2.2
func MatchesToStr(matches yr.MatchRules) []string
MatchesToStr returns a slice string from given yr.MatcheRules.
Types ¶
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
Worker represents a worker. blkSz unit is byte.
func (*Worker) Refresh ¶ added in v1.4.0
Refresh updates the worker to use the latest sigs with a new scanner.
Click to show internal directories.
Click to hide internal directories.