Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultTimeout = 5000
)
Variables ¶
This section is empty.
Functions ¶
func CheckInternet ¶
func CheckInternet() bool
func DownloadFile ¶
func FormatedNetstat ¶
func GetAllInterfaces ¶
func GetPublicIp ¶
func GetPublicIp() string
func GetStatusCode ¶
Types ¶
type CustomInterface ¶
type CustomInterface struct { Index int MTU int Name string HardwareAddr net.HardwareAddr Flags net.Flags Addrs []string }
func GetInterfaceInfo ¶
func GetInterfaceInfo(interface_name string) (CustomInterface, error)
func (CustomInterface) Format ¶
func (i CustomInterface) Format() string
func (CustomInterface) GetFlags ¶
func (i CustomInterface) GetFlags() net.Flags
func (CustomInterface) GetMac ¶
func (i CustomInterface) GetMac() string
func (CustomInterface) GetMtu ¶
func (i CustomInterface) GetMtu() int
func (CustomInterface) GetName ¶
func (i CustomInterface) GetName() string
type RequestInfo ¶
func PostHttpReq ¶
Click to show internal directories.
Click to hide internal directories.