proxy test ver

This commit is contained in:
lzx
2025-07-31 10:34:17 +08:00
commit cfda4d8425
10 changed files with 330 additions and 0 deletions

13
internal/msg/msg.go Normal file
View File

@@ -0,0 +1,13 @@
package msg
type ZmqMsg struct {
MethodID int `json:"methodId"` //0(add), 1(delete)
ID string `json:"id"` // user-miner
Address string `json:"address"` // 转发目标地址
}
type Authorize_msg struct {
ID int `json:"id"`
Method string `json:"method"`
Params []string
}