Documentation ¶
Index ¶
- func CheckIP(ip []byte) bool
- func CheckPort(port int) bool
- func GetLocalAddress(iterfaceName string) (addr *net.IP, err error)
- func Icmp(addr net.IPAddr, opts ...ss)
- func ParseHttpHeadString(text string) map[string][]string
- func PasrseTcpAddr(addr *net.TCPAddr) (ipv4 []byte, port int, err error)
- type HostAddr
- type IcmpOptions
- type IcmpRequest
- type IcmpResp
- type Iface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseHttpHeadString ¶
Types ¶
type HostAddr ¶
func ParseHostAddr ¶
type IcmpOptions ¶
type IcmpOptions struct {
// contains filtered or unexported fields
}
func (*IcmpOptions) WithTimeout ¶
func (i *IcmpOptions) WithTimeout(d time.Duration) ss
type IcmpRequest ¶
Click to show internal directories.
Click to hide internal directories.