1
0

add json to NadNotifier

This commit is contained in:
2025-01-20 20:26:50 +08:00
parent b65483773d
commit e30400a6ab

View File

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