Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentFuncPath ¶
获取当前函数所在文件路径(一旦文件编译生成) skip=0 是当前sys的目录 skip=1 是当前调用 GetCurrentFuncPath(1) 的目录
func GetExePath ¶
GetExePath 获取程序所在位置 go install 安装后在任意位置执行时,GetExePath()= `%go%/bin`
func GetPortPID ¶
GetPortPID 传入查询的端口号 返回端口号对应的进程PID,若没有找到相关进程,返回-1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.