mirror of
https://github.com/shirou/gopsutil.git
synced 2025-05-08 19:29:25 +08:00
rename json tag to more understandable on NetConnectionsStat
This commit is contained in:
parent
49857dbdd0
commit
049edefab0
4
net.go
4
net.go
@ -25,8 +25,8 @@ type NetConnectionStat struct {
|
||||
Fd uint32 `json:"fd"`
|
||||
Family uint32 `json:"family"`
|
||||
Type uint32 `json:"type"`
|
||||
Laddr Addr `json:"laddr"`
|
||||
Raddr Addr `json:"raddr"`
|
||||
Laddr Addr `json:"localaddr"`
|
||||
Raddr Addr `json:"remoteaddr"`
|
||||
Status string `json:"status"`
|
||||
Pid int32 `json:"pid"`
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user