Documentation
¶
Index ¶
- func CheckNetAddr(addr string) bool
- func ExecuteCommandAny(cmdPath string, args ...string)
- func ExecuteCommandCheckLocale(cmdstr string) int
- func ExecuteCommandSSH(args ...string)
- func FileExists(path string) bool
- func InputHostId() int
- func InputInt(msg string) int
- func InputPort(msg string) int
- func InputString(msg string) string
- func IsExecute(path string) (bool, error)
- func IsReadable(f string) bool
- func IsSupportZhCn()
- func IsWritable(f string) bool
- func PathExists(path string) (bool, error)
- func RandStringBytes(n int, letter bool) string
- func RemoteRequest(url string, params any, requestMethod string) bool
- func Sha3(data string) string
- func Sshkeygen(pwd string) (string, string, error)
- func String2Int(s string) int
- func String2IntDefault(s string, defVal int) int
- func ValiedIP(ip string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckNetAddr ¶
func ExecuteCommandAny ¶
func ExecuteCommandSSH ¶
func ExecuteCommandSSH(args ...string)
func InputHostId ¶
func InputHostId() int
func InputString ¶
func IsReadable ¶
func IsSupportZhCn ¶
func IsSupportZhCn()
func IsWritable ¶
func RandStringBytes ¶
func String2Int ¶
func String2IntDefault ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.