Documentation ¶
Index ¶
Constants ¶
View Source
const (
CreateScannerRunEventName event.EventName = "CreateScannerRun"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateScannerRunEvent ¶
type CreateScannerRunEvent struct {
ScannerRun *entity.ScannerRun
}
func (*CreateScannerRunEvent) Name ¶
func (csr *CreateScannerRunEvent) Name() event.EventName
type ScannerRunHandler ¶
type ScannerRunHandler interface {
CreateScannerRun(*entity.ScannerRun) (*entity.ScannerRun, error)
}
func NewScannerRunHandler ¶
func NewScannerRunHandler(db database.Database, er event.EventRegistry) ScannerRunHandler
type ScannerRunHandlerError ¶
type ScannerRunHandlerError struct {
// contains filtered or unexported fields
}
func (*ScannerRunHandlerError) Error ¶
func (srhe *ScannerRunHandlerError) Error() string
Click to show internal directories.
Click to hide internal directories.