Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProtocolShell = 1 ProtocolHTTP = 2 HttpMethodGet = 1 HttpMethodPost = 2 NotifyStatusNo = 1 NotifyStatusFailed = 2 NotifyStatusStopped = 3 NotifyStatusKeyword = 4 NotifyTypeEmail = 1 NotifyTypeWebhook = 2 IsUsedYES = 1 IsUsedNo = -1 )
Variables ¶
View Source
var HttpMethodText = map[int64]string{ HttpMethodGet: "GET", HttpMethodPost: "POST", }
View Source
var IsUsedText = map[int64]string{ IsUsedYES: "启用", IsUsedNo: "禁用", }
View Source
var NotifyStatusText = map[int64]string{ NotifyStatusNo: "不通知", NotifyStatusFailed: "失败通知", NotifyStatusStopped: "结束通知", NotifyStatusKeyword: "结果关键字匹配通知", }
View Source
var NotifyTypeText = map[int64]string{ NotifyTypeEmail: "邮件", NotifyTypeWebhook: "Webhook", }
View Source
var ProtocolText = map[int64]string{ ProtocolShell: "SHELL", ProtocolHTTP: "HTTP", }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.