mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
12 lines
253 B
Go
12 lines
253 B
Go
package interfaces
|
|
|
|
import "go.mongodb.org/mongo-driver/bson/primitive"
|
|
|
|
type TaskBaseService interface {
|
|
WithConfigPath
|
|
Module
|
|
SaveTask(t Task, status string) (err error)
|
|
IsStopped() (res bool)
|
|
GetQueue(nodeId primitive.ObjectID) (queue string)
|
|
}
|