1
0
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:
WAKAYAMA Shirou 2014-05-16 12:21:55 +09:00
parent 49857dbdd0
commit 049edefab0

4
net.go
View File

@ -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"`
}