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:
11
core/interfaces/node_worker_service.go
Normal file
11
core/interfaces/node_worker_service.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package interfaces
|
||||
|
||||
import "time"
|
||||
|
||||
type NodeWorkerService interface {
|
||||
NodeService
|
||||
Register()
|
||||
Recv()
|
||||
ReportStatus()
|
||||
SetHeartbeatInterval(duration time.Duration)
|
||||
}
|
||||
Reference in New Issue
Block a user