Files
crawlab/core/notification/entity.go
2024-11-05 11:15:27 +08:00

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"`
}