mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-04-27 00:45:18 +08:00
waf/ip名单有变更立即发送通知
This commit is contained in:
@@ -11,6 +11,7 @@ const (
|
||||
MessageCodeCleanCache MessageCode = "cleanCache" // 清理缓存
|
||||
MessageCodePreheatCache MessageCode = "preheatCache" // 预热缓存
|
||||
MessageCodeConfigChanged MessageCode = "configChanged" // 配置已改变
|
||||
MessageCodeIPListChanged MessageCode = "ipListChanged" // IP列表变化
|
||||
)
|
||||
|
||||
// 连接API节点成功
|
||||
@@ -57,3 +58,7 @@ type PreheatCacheMessage struct {
|
||||
// 配置已改变
|
||||
type ConfigChangedMessage struct {
|
||||
}
|
||||
|
||||
// IPList变化
|
||||
type IPListChangedMessage struct {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user