分离websocket

This commit is contained in:
ayflying
2025-03-21 16:33:44 +08:00
parent 696f1bcbdb
commit cc08e830d3
14 changed files with 223 additions and 866 deletions

View File

@@ -6,6 +6,7 @@ import (
"github.com/ayflying/utility_go/pkg/notice"
"github.com/ayflying/utility_go/pkg/rank"
"github.com/ayflying/utility_go/pkg/s3"
"github.com/ayflying/utility_go/pkg/websocket"
"github.com/gogf/gf/v2/os/gcache"
)
@@ -28,3 +29,7 @@ func S3(_name ...string) *s3.Mod {
func Rank() *rank.Mod {
return rank.New()
}
func Websocket() *websocket.SocketV1 {
return websocket.NewV1()
}