mirror of
https://github.com/xinliangnote/go-gin-api.git
synced 2024-04-21 12:31:46 +00:00
feature(1.2.8): 新增 websocket 模块
- import gorilla/websocket - 新增 实用工具箱->WebSocket 栏目
This commit is contained in:
@@ -28,6 +28,8 @@ const (
|
||||
SendEmailError = 10117
|
||||
MySQLExecError = 10118
|
||||
GoVersionError = 10119
|
||||
SocketConnectError = 10120
|
||||
SocketSendError = 10121
|
||||
|
||||
AuthorizedCreateError = 20101
|
||||
AuthorizedListError = 20102
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -20,6 +20,8 @@ var zhCNText = map[int]string{
|
||||
SendEmailError: "发送邮件失败",
|
||||
MySQLExecError: "SQL 执行失败",
|
||||
GoVersionError: "Go 版本不满足要求",
|
||||
SocketConnectError: "Socket 未连接",
|
||||
SocketSendError: "Socket 消息发送失败",
|
||||
|
||||
AuthorizedCreateError: "创建调用方失败",
|
||||
AuthorizedListError: "获取调用方列表失败",
|
||||
|
||||
Reference in New Issue
Block a user