From acec08249059bacbc7a53c3d11f41e646c2d6c1f Mon Sep 17 00:00:00 2001 From: taoshihan1991 <630892807@qq.com> Date: Tue, 9 Feb 2021 10:31:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=AE=A2=E6=9C=8D=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ws/user.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ws/user.go b/ws/user.go index 731fee1..f075fae 100644 --- a/ws/user.go +++ b/ws/user.go @@ -40,6 +40,7 @@ func NewKefuServer(c *gin.Context) { messageType, receive, err := conn.ReadMessage() if err != nil { log.Println(err) + go SendPingToKefuClient() return }