Documentation ¶
Index ¶
Constants ¶
View Source
const (
MaskRegex = "" /* 193-byte string literal not displayed */
)
Variables ¶
This section is empty.
Functions ¶
func CheckCidrContain ¶
func GetExternalIPFromIPSB ¶
func GetExternalIPFromIPSB() string
GetExternalIPFromIPSB get external ip to ip.sb
func ValidateIPAndMask ¶
Types ¶
type DeviceInfo ¶
DeviceInfo device info list all network interface on host
func ListDeviceNames ¶
func ListDeviceNames() (devList []DeviceInfo, err error)
ListDeviceNames returns the list of adapters available for sniffing on this computer. If the withDescription parameter is set to true, a human readable version of the adapter name is added. If the withIP parameter is set to true, IP address of the adapter is added.
Click to show internal directories.
Click to hide internal directories.