1 Star 0 Fork 0

carlmax_my/console-core-go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
agent_cmd.go 477 Bytes
一键复制 编辑 原始数据 按行查看 历史
carlmax_my 提交于 3个月前 . init project
package control_dto
const (
AGENT_CMD_REGISTER uint8 = 1
)
type AgentCmdReq struct {
MsgId string `json:"msg_id"`
Cmd uint8 `json:"cmd"`
AgentType uint8 `json:"agent_type"`
AgentId string `json:"agent_id"`
Ts int64 `json:"ts"`
Msg string `json:"msg"`
}
type AgentCmdResp struct {
MsgId string `json:"msg_id"` // echo
Cmd uint8 `json:"cmd"`
Ts int64 `json:"ts"`
Msg string `json:"msg"`
Error string `json:"error,omitempty"`
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/carlmax_my/console-core-go.git
git@gitee.com:carlmax_my/console-core-go.git
carlmax_my
console-core-go
console-core-go
v0.0.25

搜索帮助