Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountCreateReq ¶
type AccountCreateReq struct {
}
type AccountCreateResp ¶
type AccountCreateResp struct {
}
type AccountGetReq ¶
type AccountGetReq struct {
By load.ByCode `json:"by"`
Lead *uc.AccountLead `json:"lead"`
}
type AccountLoadReq ¶
type AccountLoadReq struct {
Owners []uc.AccountOwner `json:"owners"`
Page *load.Page `json:"page"`
}
type AccountLoadResp ¶
type AlterLoadReq ¶
type AlterLoadReq struct {
Lead *uc.AccountLead `json:"lead"`
Page *load.Page `json:"page"`
}
type AlterLoadResp ¶
type CoinIssueReq ¶
type CoinIssueResp ¶
type Service ¶
type Service interface {
CoinIssue(req CoinIssueReq) (*CoinIssueResp, *errors.Error)
CoinGet(req CoinGetReq) (*uc.Coin, *errors.Error)
AccountCreate(req AccountCreateReq) (*AccountCreateResp, *errors.Error)
AccountGet(req AccountGetReq) (*uc.Account, *errors.Error)
AccountLoad(req AccountLoadReq) (*AccountLoadResp, *errors.Error)
AlterLoad(req AlterLoadReq) (*AlterLoadResp, *errors.Error)
}
Click to show internal directories.
Click to hide internal directories.