mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-07 01:33:43 +08:00
add ws handler
This commit is contained in:
7
api/service/ws_service.go
Normal file
7
api/service/ws_service.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package service
|
||||
|
||||
import "geekai/core/types"
|
||||
|
||||
type WebsocketService struct {
|
||||
Clients *types.LMap[string, *types.WsClient] // clientId => Client
|
||||
}
|
||||
Reference in New Issue
Block a user