mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-31 18:10:50 +01:00
feat: added modules
This commit is contained in:
6
core/interfaces/task_hook_service.go
Normal file
6
core/interfaces/task_hook_service.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package interfaces
|
||||
|
||||
type TaskHookService interface {
|
||||
PreActions(Task, Spider, FsServiceV2, TaskHandlerService) (err error)
|
||||
PostActions(Task, Spider, FsServiceV2, TaskHandlerService) (err error)
|
||||
}
|
||||
Reference in New Issue
Block a user