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:
14
core/interfaces/node_master_service.go
Normal file
14
core/interfaces/node_master_service.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package interfaces
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type NodeMasterService interface {
|
||||
NodeService
|
||||
Monitor()
|
||||
SetMonitorInterval(duration time.Duration)
|
||||
Register() error
|
||||
StopOnError()
|
||||
GetServer() GrpcServer
|
||||
}
|
||||
Reference in New Issue
Block a user