mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
feat: added modules
This commit is contained in:
10
core/interfaces/model_node_delegate.go
Normal file
10
core/interfaces/model_node_delegate.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package interfaces
|
||||
|
||||
import "time"
|
||||
|
||||
type ModelNodeDelegate interface {
|
||||
ModelDelegate
|
||||
UpdateStatus(active bool, activeTs *time.Time, status string) (err error)
|
||||
UpdateStatusOnline() (err error)
|
||||
UpdateStatusOffline() (err error)
|
||||
}
|
||||
Reference in New Issue
Block a user