节点状态记录是否检查到本地防火墙

This commit is contained in:
GoEdgeLab
2022-04-21 18:14:53 +08:00
parent 8d57efee7e
commit e9055a6b60
4 changed files with 17 additions and 1 deletions

View File

@@ -10,6 +10,9 @@ type FirewallInterface interface {
// IsReady 是否已准备被调用
IsReady() bool
// IsMock 是否为模拟
IsMock() bool
// AllowPort 允许端口
AllowPort(port int, protocol string) error