req_resp.go 358 Bytes
Newer Older
duanjinfei's avatar
duanjinfei committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
package models

type RewardAddress struct {
	Address string `json:"address"`
}

type SeedUrl struct {
	Seed string `json:"seed"`
}

type NodeManagerReq struct {
	PublicKey string `json:"public_key"`
	EndPoint  string `json:"end_point"`
}
duanjinfei's avatar
duanjinfei committed
15 16

type Resp struct {
17 18 19
	Code int          `json:"code"`
	Msg  string       `json:"msg"`
	Data []*ModelInfo `json:"data"`
duanjinfei's avatar
duanjinfei committed
20
}