mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
fix service tags (#8)
This commit is contained in:
parent
288e1b75e9
commit
8eec79d54f
@ -46,14 +46,14 @@ const (
|
||||
|
||||
type Service struct {
|
||||
Common
|
||||
Name string `json:"name,omitempty"`
|
||||
Type uint8 `json:"type,omitempty"`
|
||||
Target string `json:"target,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Type uint8 `json:"type"`
|
||||
Target string `json:"target"`
|
||||
SkipServersRaw string `json:"-"`
|
||||
Duration uint64 `json:"duration,omitempty"`
|
||||
Duration uint64 `json:"duration"`
|
||||
Notify bool `json:"notify,omitempty"`
|
||||
NotificationGroupID uint64 `json:"notification_group_id,omitempty"` // 当前服务监控所属的通知组 ID
|
||||
Cover uint8 `json:"cover,omitempty"`
|
||||
NotificationGroupID uint64 `json:"notification_group_id"` // 当前服务监控所属的通知组 ID
|
||||
Cover uint8 `json:"cover"`
|
||||
|
||||
EnableTriggerTask bool `gorm:"default: false" json:"enable_trigger_task,omitempty"`
|
||||
EnableShowInService bool `gorm:"default: false" json:"enable_show_in_service,omitempty"`
|
||||
|
Loading…
Reference in New Issue
Block a user