Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalNetworkScanner ¶
type LocalNetworkScanner struct{}
func (*LocalNetworkScanner) ContainsIP ¶
func (lns *LocalNetworkScanner) ContainsIP(ip string) bool
checks whether the local network scanner contains the given IP
type NetScanner ¶
func MakeLocalNetworkScanner ¶
func MakeLocalNetworkScanner() NetScanner
func MakeTestNetworkScanner ¶
func MakeTestNetworkScanner(networks []*net.IPNet) NetScanner
Test network scanner
type TCPServer ¶
type TCPServer struct { Address string // contains filtered or unexported fields }
func NewTCPServer ¶
func NewTCPServerAllPorts ¶
type TestNetworkScanner ¶
type TestNetworkScanner struct {
// contains filtered or unexported fields
}
func (*TestNetworkScanner) ContainsIP ¶
func (tns *TestNetworkScanner) ContainsIP(ip string) bool
checks whether the local network scanner contains the given IP
Click to show internal directories.
Click to hide internal directories.