|
@@ -2,8 +2,8 @@ package gonsq
|
|
|
|
|
|
//从nsq接收的消息体
|
|
|
type Msg struct {
|
|
|
- Id string `json:"id"` //用于标识这个告警分组,及告警方式、告警人
|
|
|
+ Id string `json:"id"` //用于标识这个告警分组,及告警方式、告警人
|
|
|
+ Title string `json:"title"` //非必填项
|
|
|
Text string `json:"text"`
|
|
|
- Title string `json:"title"` //非必填项
|
|
|
AppendInfo map[string]interface{} `json:"appendinfo"` //附加信息,非必填项
|
|
|
}
|