Documentation
¶
Index ¶
- func ADBCNXNPacket() []byte
- func FirstLine(s string) string
- func GenericResult(host string, ip net.IP, port int, transport common.TransportType, ...) *discoverfern.ServiceDetails
- func IsRMIEndpointHost(b []byte) bool
- func LooksLikeGitDaemon(resp []byte) bool
- func LooksLikeIRC(s string) bool
- func TCPConn(ctx context.Context, ip net.IP, port int, timeout int) (net.Conn, error)
- func TCPExchange(ctx context.Context, ip net.IP, port int, timeout int, probe []byte, ...) ([]byte, error)
- func TCPReadBanner(ctx context.Context, ip net.IP, port int, timeout int, maxRead int) ([]byte, error)
- func UDPExchange(ctx context.Context, ip net.IP, port int, timeout int, probe []byte, ...) ([]byte, error)
- func ValidADBPacket(packet []byte) bool
- func ValidGopherItem(s string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ADBCNXNPacket ¶
func ADBCNXNPacket() []byte
func GenericResult ¶
func GenericResult(host string, ip net.IP, port int, transport common.TransportType, appProtocol string, version string, metadata map[string]string) *discoverfern.ServiceDetails
func IsRMIEndpointHost ¶
func LooksLikeGitDaemon ¶
func LooksLikeIRC ¶
func TCPExchange ¶
func TCPReadBanner ¶
func UDPExchange ¶
func ValidADBPacket ¶
func ValidGopherItem ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.