Versions in this module Expand all Collapse all v3 v3.3.4 Sep 30, 2024 Changes in this version + type ScanContext struct + Input *contextargs.Context + OnError func(error) + OnResult func(e *output.InternalWrappedEvent) + OnWarning func(string) + func NewScanContext(ctx context.Context, input *contextargs.Context) *ScanContext + func (s *ScanContext) Context() context.Context + func (s *ScanContext) GenerateErrorMessage() error + func (s *ScanContext) GenerateResult() []*output.ResultEvent + func (s *ScanContext) LogError(err error) + func (s *ScanContext) LogEvent(e *output.InternalWrappedEvent) + func (s *ScanContext) LogWarning(format string, args ...any) + type ScanContextOption func(*ScanContext) + func WithEvents() ScanContextOption