MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / IsMock

Method IsMock

internal/firewalls/firewall_interface.go:14–14  ·  view source on GitHub ↗

IsMock 是否为模拟

()

Source from the content-addressed store, hash-verified

12
13 // IsMock 是否为模拟
14 IsMock() bool
15
16 // AllowPort 允许端口
17 AllowPort(port int, protocol string) error

Callers 2

updateMethod · 0.65
DropTemporaryToFunction · 0.65

Implementers 4

HTTPFirewallinternal/firewalls/firewall_http.go
Firewalldinternal/firewalls/firewall_firewalld.
MockFirewallinternal/firewalls/firewall_mock.go
NFTablesFirewallinternal/firewalls/firewall_nftables_o

Calls

no outgoing calls

Tested by

no test coverage detected