MCPcopy
hub / github.com/bettercap/bettercap / Skip

Method Skip

modules/net_probe/net_probe_test.go:104–109  ·  view source on GitHub ↗
(ip net.IP)

Source from the content-addressed store, hash-verified

102}
103
104func (m *MockSession) Skip(ip net.IP) bool {
105 if m.skipIPs == nil {
106 return false
107 }
108 return m.skipIPs[ip.String()]
109}
110
111// MockNetRecon implements a minimal net.recon module for testing
112type MockNetRecon struct {

Callers 3

TestShowMethodsFunction · 0.45
getTargetsMethod · 0.45
StartMethod · 0.45

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected