mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
12 lines
285 B
Go
12 lines
285 B
Go
package interfaces
|
|
|
|
import "go.mongodb.org/mongo-driver/bson/primitive"
|
|
|
|
type Result interface {
|
|
Value() map[string]interface{}
|
|
SetValue(key string, value interface{})
|
|
GetValue(key string) (value interface{})
|
|
GetTaskId() (id primitive.ObjectID)
|
|
SetTaskId(id primitive.ObjectID)
|
|
}
|