Browse Source

chore: fix function name (#4416)

Signed-off-by: crystalstall <crystalruby@qq.com>
crystalstall 5 months ago
parent
commit
edd7cf8967
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/control.go

+ 1 - 1
client/control.go

@@ -230,7 +230,7 @@ func (ctl *Control) registerMsgHandlers() {
 	ctl.msgDispatcher.RegisterHandler(&msg.Pong{}, ctl.handlePong)
 	ctl.msgDispatcher.RegisterHandler(&msg.Pong{}, ctl.handlePong)
 }
 }
 
 
-// headerWorker sends heartbeat to server and check heartbeat timeout.
+// heartbeatWorker sends heartbeat to server and check heartbeat timeout.
 func (ctl *Control) heartbeatWorker() {
 func (ctl *Control) heartbeatWorker() {
 	xl := ctl.xl
 	xl := ctl.xl