-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.fix-bug:websocket服务端修复直接针对客户端断电、拔网线等非常规操作时,导致客户端回调函数(onClose、onErro…
…r)事件无法传递出去,因此服务端看见的客户端状态一直处于在线状态的bug. 2.更新依赖包至最新版本.
- Loading branch information
张奇峰
committed
Aug 3, 2024
1 parent
3fe5a4a
commit 8a30ea9
Showing
3 changed files
with
149 additions
and
2,479 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,94 @@ | ||
module goskeleton | ||
|
||
go 1.15 | ||
go 1.20 | ||
|
||
require ( | ||
github.com/casbin/casbin/v2 v2.87.1 | ||
github.com/casbin/gorm-adapter/v3 v3.24.0 | ||
github.com/casbin/casbin/v2 v2.98.0 | ||
github.com/casbin/gorm-adapter/v3 v3.26.0 | ||
github.com/dchest/captcha v1.0.0 | ||
github.com/dgrijalva/jwt-go v3.2.1-0.20210802184156-9742bd7fca1c+incompatible | ||
github.com/fsnotify/fsnotify v1.7.0 | ||
github.com/gin-contrib/pprof v1.4.0 | ||
github.com/gin-gonic/gin v1.9.1 | ||
github.com/gin-contrib/pprof v1.5.0 | ||
github.com/gin-gonic/gin v1.10.0 | ||
github.com/go-playground/locales v0.14.1 | ||
github.com/go-playground/universal-translator v0.18.1 | ||
github.com/go-playground/validator/v10 v10.19.0 | ||
github.com/go-playground/validator/v10 v10.22.0 | ||
github.com/gomodule/redigo v1.9.2 | ||
github.com/gorilla/websocket v1.5.1 | ||
github.com/gorilla/websocket v1.5.3 | ||
github.com/natefinch/lumberjack v2.0.0+incompatible | ||
github.com/qifengzhang007/goCurl v1.4.0 | ||
github.com/qifengzhang007/sql_res_to_tree v1.0.15 | ||
github.com/rabbitmq/amqp091-go v1.9.0 | ||
github.com/spf13/cobra v1.8.0 | ||
github.com/rabbitmq/amqp091-go v1.10.0 | ||
github.com/spf13/cobra v1.8.1 | ||
github.com/spf13/viper v1.18.2 | ||
go.uber.org/zap v1.27.0 | ||
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect | ||
gorm.io/driver/mysql v1.5.6 | ||
gorm.io/driver/postgres v1.5.7 | ||
gorm.io/driver/mysql v1.5.7 | ||
gorm.io/driver/postgres v1.5.9 | ||
gorm.io/driver/sqlserver v1.5.3 | ||
gorm.io/gorm v1.25.9 | ||
gorm.io/plugin/dbresolver v1.5.1 | ||
gorm.io/gorm v1.25.11 | ||
gorm.io/plugin/dbresolver v1.5.2 | ||
) | ||
|
||
require ( | ||
github.com/BurntSushi/toml v1.4.0 // indirect | ||
github.com/axgle/mahonia v0.0.0-20180208002826-3358181d7394 // indirect | ||
github.com/bytedance/sonic v1.11.6 // indirect | ||
github.com/bytedance/sonic/loader v0.1.1 // indirect | ||
github.com/casbin/govaluate v1.2.0 // indirect | ||
github.com/cloudwego/base64x v0.1.4 // indirect | ||
github.com/cloudwego/iasm v0.2.0 // indirect | ||
github.com/dustin/go-humanize v1.0.1 // indirect | ||
github.com/gabriel-vasile/mimetype v1.4.3 // indirect | ||
github.com/gin-contrib/sse v0.1.0 // indirect | ||
github.com/glebarez/go-sqlite v1.20.3 // indirect | ||
github.com/glebarez/sqlite v1.7.0 // indirect | ||
github.com/go-sql-driver/mysql v1.7.0 // indirect | ||
github.com/goccy/go-json v0.10.2 // indirect | ||
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect | ||
github.com/golang-sql/sqlexp v0.1.0 // indirect | ||
github.com/google/uuid v1.4.0 // indirect | ||
github.com/hashicorp/hcl v1.0.0 // indirect | ||
github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
github.com/jackc/pgpassfile v1.0.0 // indirect | ||
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect | ||
github.com/jackc/pgx/v5 v5.5.5 // indirect | ||
github.com/jackc/puddle/v2 v2.2.1 // indirect | ||
github.com/jinzhu/inflection v1.0.0 // indirect | ||
github.com/jinzhu/now v1.1.5 // indirect | ||
github.com/json-iterator/go v1.1.12 // indirect | ||
github.com/klauspost/cpuid/v2 v2.2.7 // indirect | ||
github.com/leodido/go-urn v1.4.0 // indirect | ||
github.com/magiconair/properties v1.8.7 // indirect | ||
github.com/mattn/go-isatty v0.0.20 // indirect | ||
github.com/microsoft/go-mssqldb v1.6.0 // indirect | ||
github.com/mitchellh/mapstructure v1.5.0 // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/reflect2 v1.0.2 // indirect | ||
github.com/pelletier/go-toml/v2 v2.2.2 // indirect | ||
github.com/remyoudompheng/bigfft v0.0.0-20230126093431-47fa9a501578 // indirect | ||
github.com/sagikazarmark/locafero v0.4.0 // indirect | ||
github.com/sagikazarmark/slog-shim v0.1.0 // indirect | ||
github.com/sourcegraph/conc v0.3.0 // indirect | ||
github.com/spf13/afero v1.11.0 // indirect | ||
github.com/spf13/cast v1.6.0 // indirect | ||
github.com/spf13/pflag v1.0.5 // indirect | ||
github.com/subosito/gotenv v1.6.0 // indirect | ||
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect | ||
github.com/ugorji/go/codec v1.2.12 // indirect | ||
go.uber.org/multierr v1.10.0 // indirect | ||
golang.org/x/arch v0.8.0 // indirect | ||
golang.org/x/crypto v0.23.0 // indirect | ||
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect | ||
golang.org/x/net v0.25.0 // indirect | ||
golang.org/x/sync v0.5.0 // indirect | ||
golang.org/x/sys v0.20.0 // indirect | ||
golang.org/x/text v0.15.0 // indirect | ||
google.golang.org/protobuf v1.34.1 // indirect | ||
gopkg.in/ini.v1 v1.67.0 // indirect | ||
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
modernc.org/libc v1.22.2 // indirect | ||
modernc.org/mathutil v1.5.0 // indirect | ||
modernc.org/memory v1.5.0 // indirect | ||
modernc.org/sqlite v1.20.3 // indirect | ||
) |
Oops, something went wrong.