Documentation ¶
Index ¶
- func Contains(slice []string, s string) int
- func CurrentUsername() string
- func GetLocalIP() (ip string, err error)
- func GetNetworkIPv4() string
- func GetNetworkIp() string
- func GetOutboundIP() (string, error)
- func GetVersionNum(ver string) int
- func GetXForEc(ec float64, times int, multiple int) float64
- func GetXForEcIncr(x float64, times int, multiple int) float64
- func IsExist(path string) bool
- func IsFile(path string) bool
- func RandId() string
- type Address
- type IPLocate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentUsername ¶
func CurrentUsername() string
CurrentUsername returns the username of the current user.
func GetLocalIP ¶
func GetNetworkIPv4 ¶
func GetNetworkIPv4() string
func GetNetworkIp ¶
func GetNetworkIp() string
func GetOutboundIP ¶
func GetVersionNum ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.