Documentation ¶
Index ¶
- Constants
- func ExecCommand(name string, args ...string) (string, error)
- func GetCurrentDate() string
- func GetCurrentDateTime() string
- func GetCurrentDateTimeNumbersOnly() string
- func GetCurrentDir() string
- func GetCurrentTimestamp() int
- func GetCurrentUser() string
- func GetDateTimeFromTimestamp(timeStamp int) string
- func GetFutureDate(years int, months int, days int) string
- func GetFutureDateTime(years int, months int, days int) string
- func GetFutureTimestamp(years int, months int, days int) int
- func GetInterfaceIpv4Addr(interfaceName string) (string, error)
- func GetSpecificHost(host string) string
- func GetVersion() string
- func InterfaceExists(interfaceName string) (bool, error)
- func IsIpAddr(addr string) bool
- func ParseDateInt(dateStr string) (int, error)
- func ParseDateTimeInt(dateTimeStr string) (int, error)
- func PrintVersion()
Constants ¶
View Source
const VERSION = "v0.0.0"
Variables ¶
This section is empty.
Functions ¶
func GetCurrentDate ¶
func GetCurrentDate() string
func GetCurrentDateTime ¶
func GetCurrentDateTime() string
func GetCurrentDateTimeNumbersOnly ¶
func GetCurrentDateTimeNumbersOnly() string
func GetCurrentDir ¶
func GetCurrentDir() string
func GetCurrentTimestamp ¶
func GetCurrentTimestamp() int
func GetCurrentUser ¶
func GetCurrentUser() string
func GetInterfaceIpv4Addr ¶
func GetSpecificHost ¶
func GetVersion ¶
func GetVersion() string
func InterfaceExists ¶
func ParseDateInt ¶
func ParseDateTimeInt ¶
func PrintVersion ¶
func PrintVersion()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.