mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
16 lines
481 B
Go
16 lines
481 B
Go
package notification
|
|
|
|
import (
|
|
"github.com/crawlab-team/crawlab/core/models/models"
|
|
)
|
|
|
|
type VariableData struct {
|
|
Task *models.Task `json:"task"`
|
|
TaskStat *models.TaskStat `json:"task_stat"`
|
|
Spider *models.Spider `json:"spider"`
|
|
Node *models.Node `json:"node"`
|
|
Schedule *models.Schedule `json:"schedule"`
|
|
Alert *models.NotificationAlert `json:"alert"`
|
|
Metric *models.Metric `json:"metric"`
|
|
}
|