mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-27 17:50:53 +01:00
feat: added modules
This commit is contained in:
10
core/interfaces/module.go
Normal file
10
core/interfaces/module.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package interfaces
|
||||
|
||||
type ModuleId int
|
||||
|
||||
type Module interface {
|
||||
Init() error
|
||||
Start()
|
||||
Wait()
|
||||
Stop()
|
||||
}
|
||||
Reference in New Issue
Block a user