package
1.0.30
Repository: https://github.com/why444216978/go-util.git
Documentation: pkg.go.dev

# Functions

ExecCommand 执行系统命令.
ExecCommandGrep 执行系统pipe命令 ps := exec.Command("ps", "-ef") grep := exec.Command("grep", "-i", "php-fpm").
ExternalIP 获得请求IP.
GetInternalIP 获得请求IP.
HostName 获得本机名.
LocalIP 获得本机IP.