Handle keep alive in signal server

This commit is contained in:
Zoltan Papp
2023-03-30 14:31:52 +02:00
parent a6431e053b
commit 551455f314
5 changed files with 25 additions and 11 deletions

5
keepalive/client.go Normal file
View File

@@ -0,0 +1,5 @@
package keepalive
func IsKeepAliveMsg(body []byte) bool {
return len(body) == 0
}