@ -10,9 +10,9 @@ import (
)
type NadNotifier struct {
Address string // http://host:port/path
SkipSSLVerify bool
AccessToken string
Address string `json:"address"` // http://host:port/path
SkipSSLVerify bool `json:"skip_ssl_verify"`
AccessToken string `json:"access_token"`
}
// Notify 方法将传入的 Notify 信息序列化为 JSON,