feature(1.2.8): 新增 websocket 模块

- import gorilla/websocket
- 新增 实用工具箱->WebSocket 栏目
This commit is contained in:
新亮
2021-09-20 19:18:15 +08:00
parent 77e8d58298
commit 17be120c06
31 changed files with 848 additions and 19 deletions
+2
View File
@@ -28,6 +28,8 @@ const (
SendEmailError = 10117
MySQLExecError = 10118
GoVersionError = 10119
SocketConnectError = 10120
SocketSendError = 10121
AuthorizedCreateError = 20101
AuthorizedListError = 20102
+2
View File
@@ -20,6 +20,8 @@ var enUSText = map[int]string{
SendEmailError: "Failed to send mail",
MySQLExecError: "SQL execution failed",
GoVersionError: "Go Version mismatch",
SocketConnectError: "Socket not connected",
SocketSendError: "Socket message sending failed",
AuthorizedCreateError: "Failed to create caller",
AuthorizedListError: "Failed to get caller list",
+2
View File
@@ -20,6 +20,8 @@ var zhCNText = map[int]string{
SendEmailError: "发送邮件失败",
MySQLExecError: "SQL 执行失败",
GoVersionError: "Go 版本不满足要求",
SocketConnectError: "Socket 未连接",
SocketSendError: "Socket 消息发送失败",
AuthorizedCreateError: "创建调用方失败",
AuthorizedListError: "获取调用方列表失败",