Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TCPPortInUse ¶
func UDPPortInUse ¶
Types ¶
type PortProcess ¶
type PortProcess struct {
PID string `json:"pid"`
Name string `json:"name"`
Command string `json:"command"`
}
PortProcess 端口占用进程信息
func GetPortProcess ¶
func GetPortProcess(port uint, protocol string) []PortProcess
GetPortProcess 获取占用指定端口的进程信息
Click to show internal directories.
Click to hide internal directories.