modulepackage
0.0.0-20241003092318-e514c15dfc20
Repository: https://github.com/mannk98/netutils.git
Documentation: pkg.go.dev
# README
netutils
golang 's network utilities
# Functions
Don't forget add https:// or http.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Check connection to http/https server
return nil if cant connect to server through interface
*/.
No description provided by the author
Get first finded IPv4 address of Linux network interface.
Check if Network Interface has any IPv4 address.
id is instance in mdns.
Check if host machine have internet (check by ping(imcp) to dns servers) */.
Check if host machine have internet (check http connection to DNS server ) */.
list all real network iface, include ethernet, wlan, docker network.
No description provided by the author
Convert Domain to IP */.
No description provided by the author
Check if server is alive, timeout check is 666ms */.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Stolen from https://godoc.org/golang.org/x/net/internal/iana, can't import "internal" packages.
# Structs
No description provided by the author