|
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
|
|
}
|