add websocket

This commit is contained in:
张超
2024-01-22 17:55:16 +08:00
parent 2455f0d897
commit 47c62ea31d
6 changed files with 211 additions and 12 deletions

9
go.mod
View File

@@ -6,8 +6,9 @@ require (
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/gin-gonic/gin v1.9.1
github.com/go-ini/ini v1.67.0
github.com/gorilla/websocket v1.5.1
github.com/jinzhu/gorm v1.9.16
golang.org/x/crypto v0.9.0
golang.org/x/crypto v0.14.0
)
require (
@@ -31,9 +32,9 @@ require (
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/ugorji/go/codec v1.2.11 // indirect
golang.org/x/arch v0.3.0 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/sys v0.8.0 // indirect
golang.org/x/text v0.9.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
google.golang.org/protobuf v1.30.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)