fix: ws订阅组消息发送客户端读取失败导致消息丢失

This commit is contained in:
TsMask
2024-08-12 10:57:50 +08:00
parent 971df947cc
commit 9ec059b4cf
3 changed files with 14 additions and 22 deletions

View File

@@ -5,6 +5,6 @@ type IWSSend interface {
// ByClientID 给已知客户端发消息
ByClientID(clientID string, data any) error
// ByGroupID 给订阅组的用户发送消息
// ByGroupID 给订阅组的客户端发送消息
ByGroupID(gid string, data any) error
}