Documentation
¶
Index ¶
- Constants
- func Contains(source interface{}, target interface{}) (bool, error)
- func GetBinDir() string
- func GetBinPath() (string, error)
- func GetENV(key string) string
- func GetENVToBool(key string) bool
- func GetENVToInt(key string) (int, error)
- func GetENVToInt64(key string) (int64, error)
- func GetIPs(filterPhysical ...bool) (ipv4 []string, err error)
- func GetProjectDir() string
- func IsPhysicalInterfaceDevice(name string) (bool, error)
- func TimestampToTime(timestamp int64) (t time.Time, err error)
Constants ¶
View Source
const ( NanosecondLen = 19 MillisecondLen = 13 SecondLen = 10 )
Variables ¶
This section is empty.
Functions ¶
func IsPhysicalInterfaceDevice ¶
IsPhysicalInterfaceDevice 查看网卡是否是物理设备
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.