From 6e8472d2e87a9bc4c3b3d15db9a954721e4eea8c Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Fri, 11 Oct 2024 09:54:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20ws=E5=B7=A5=E5=85=B7net=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E5=B1=9E=E6=80=A7=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/ws/model/net_connect.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/ws/model/net_connect.go b/src/modules/ws/model/net_connect.go index 6b67edb6..0c246897 100644 --- a/src/modules/ws/model/net_connect.go +++ b/src/modules/ws/model/net_connect.go @@ -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"` }