1
0
Fork 0

add json to NadNotifier

main v1.0.1
WriterPass 2 weeks ago
parent b65483773d
commit e30400a6ab

@ -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

Loading…
Cancel
Save