Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrJobNotComplete returns when done is not set within a worker ErrJobNotComplete = errors.New("job has not completed") )
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { // Run will spawn all the workers and get all the results returned. Run(ctx context.Context, detectorID string) ([]*types.Result, error) }
Service defines the dispatcher that will issue jobs to the runnning workers and return the results of all issues found
func NewDefaultService ¶
NewDefaultService creates a processor that will inspect all the configured options
Click to show internal directories.
Click to hide internal directories.