Versions in this module Expand all Collapse all v0 v0.1.5 Nov 16, 2024 Changes in this version + const DefaultTimeout + func CheckInternet() bool + func DownloadFile(file_url string) error + func FormatedNetstat() (string, error) + func GetAllInterfaces() ([]string, error) + func GetPublicIp() string + func GetStatusCode(url_to_check string) (int, error) + type CustomInterface struct + Addrs []string + Flags net.Flags + HardwareAddr net.HardwareAddr + Index int + MTU int + Name string + func GetInterfaceInfo(interface_name string) (CustomInterface, error) + func (i CustomInterface) Format() string + func (i CustomInterface) GetFlags() net.Flags + func (i CustomInterface) GetMac() string + func (i CustomInterface) GetMtu() int + func (i CustomInterface) GetName() string + type IP struct + Query string + type PortsInfo struct + Name string + Pid int + Port int + State netstat.SkState + func Netstat() ([]*PortsInfo, error) + type RequestInfo struct + ContentLength int + Protocol string + Response string + StatusCode int + func PostHttpReq(url string, post_data url.Values, timeout int) (RequestInfo, error)