proxy test ver
This commit is contained in:
13
internal/msg/msg.go
Normal file
13
internal/msg/msg.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user