Documentation ¶
Index ¶
- func Atoi(s string) int
- func ByteView(size int64) string
- func ConnectTest(bind string, public string, ctrl int) error
- func HostnameGet() string
- func IsUsedTcpPort(port int) error
- func IsUsedUdpPort(port int) error
- func ListAtoi(ss []string) []int
- func StringCat(v, pre, suf string) string
- func UnusedPort(network string, begin, end int) int
- type InterfaceInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HostnameGet ¶
func HostnameGet() string
func IsUsedTcpPort ¶
func IsUsedUdpPort ¶
func UnusedPort ¶
Types ¶
type InterfaceInfo ¶
func InterfaceGet ¶
func InterfaceGet() ([]InterfaceInfo, error)
func InterfaceGetByIP ¶
func InterfaceGetByIP(ip string) (*InterfaceInfo, error)
Click to show internal directories.
Click to hide internal directories.