Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultTimeout = 5000
)
Variables ¶
This section is empty.
Functions ¶
func CheckInternet ¶
func CheckInternet() bool
func DownloadFile ¶
func FormatedNetstat ¶
func GetPublicIp ¶
func GetPublicIp() string
func GetStatusCode ¶
func ListAllInterfaces ¶
Types ¶
type CustomInterface ¶ added in v0.1.2
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 ¶ added in v0.1.2
func (i CustomInterface) Format() string
func (CustomInterface) GetFlags ¶ added in v0.1.2
func (i CustomInterface) GetFlags() net.Flags
func (CustomInterface) GetMac ¶ added in v0.1.2
func (i CustomInterface) GetMac() string
func (CustomInterface) GetMtu ¶ added in v0.1.2
func (i CustomInterface) GetMtu() int
func (CustomInterface) GetName ¶ added in v0.1.2
func (i CustomInterface) GetName() string
type RequestInfo ¶ added in v0.1.2
func PostHttpReq ¶ added in v0.1.2
Click to show internal directories.
Click to hide internal directories.