Documentation
¶
Index ¶
- func IPToBinary(ip net.IP) uint32
- func IPToBinarySTR(ip net.IP) string
- func IsAPIPA(ip net.IP) bool
- func IsLoopback(ip net.IP) bool
- func IsMulticast(ip net.IP) bool
- func IsPrivate(ip net.IP) bool
- func IsPtpLink(ip net.IPNet) bool
- type IPCalc
- func (ipcalc *IPCalc) GetBroadCastIP() net.IP
- func (ipcalc *IPCalc) GetClass() byte
- func (ipcalc *IPCalc) GetMaxHost() net.IP
- func (ipcalc *IPCalc) GetMinHost() net.IP
- func (ipcalc *IPCalc) GetNetworkAddr() net.IP
- func (ipcalc *IPCalc) GetValidHosts() int
- func (ipcalc IPCalc) GetWildcard() net.IP
- func (ipcalc IPCalc) LookUp() []string
- func (ipcalc *IPCalc) ToString() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IPToBinary ¶
func IPToBinarySTR ¶
Types ¶
type IPCalc ¶
func (*IPCalc) GetBroadCastIP ¶
func (*IPCalc) GetMaxHost ¶
func (*IPCalc) GetMinHost ¶
func (*IPCalc) GetNetworkAddr ¶
func (*IPCalc) GetValidHosts ¶
func (IPCalc) GetWildcard ¶
Click to show internal directories.
Click to hide internal directories.