fix: ws工具net资源属性命名
This commit is contained in:
@@ -6,8 +6,8 @@ import "github.com/shirou/gopsutil/v4/net"
|
||||
type NetConnectData struct {
|
||||
Type string `json:"type"`
|
||||
Status string `json:"status"`
|
||||
Laddr net.Addr `json:"localaddr"`
|
||||
Raddr net.Addr `json:"remoteaddr"`
|
||||
Laddr net.Addr `json:"localAddr"`
|
||||
Raddr net.Addr `json:"remoteAddr"`
|
||||
PID int32 `json:"pid"`
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user