chore(vscode): 更新调试配置并删除无用的 API 代码

- 在 .vscode/launch.json 中添加了新的 Go 调试配置项
- 删除了 blazing/common/api 目录下未使用的 Kick.pb.go 和 Quit.pb.go 文件
This commit is contained in:
2025-07-06 19:31:30 +08:00
parent 83ecb90baf
commit 53da82df82
17 changed files with 279 additions and 1453 deletions

View File

@@ -18,6 +18,16 @@ type TomeeHeader struct {
Result uint32 `json:"result"`
Data []byte `json:"data"|struc:"skip"` //组包忽略此字段// struc:"[0]pad"
}
func NewTomeeHeader() *TomeeHeader {
return &TomeeHeader{
// Len: 0,
Version: "7",
}
}
type TomeeHandler struct {
Callback func(conn gnet.Conn, data TomeeHeader)
}