Documentation ¶
Index ¶
- type Balance
- type RequestForBalanceSubAccount
- type RequestForChangeSubAccount
- type RequestForCreateSubAccount
- type RequestForDeleteSubAccount
- type RequestForSubAccounts
- type RequestForTransferSubAccount
- type ResponseForBalanceSubAccount
- type ResponseForChangeSubAccount
- type ResponseForCreateSubAccount
- type ResponseForDeleteSubAccount
- type ResponseForSubAccounts
- type ResponseForTransferSubAccount
- type SubAccount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestForBalanceSubAccount ¶
type RequestForBalanceSubAccount struct {
NickName string
}
func (*RequestForBalanceSubAccount) Method ¶
func (req *RequestForBalanceSubAccount) Method() string
func (*RequestForBalanceSubAccount) Path ¶
func (req *RequestForBalanceSubAccount) Path() string
func (*RequestForBalanceSubAccount) Payload ¶
func (req *RequestForBalanceSubAccount) Payload() []byte
func (*RequestForBalanceSubAccount) Query ¶
func (req *RequestForBalanceSubAccount) Query() string
type RequestForChangeSubAccount ¶
type RequestForChangeSubAccount struct { NickName string `json:"nickname"` NewNickname string `json:"newNickname"` }
func (*RequestForChangeSubAccount) Method ¶
func (req *RequestForChangeSubAccount) Method() string
func (*RequestForChangeSubAccount) Path ¶
func (req *RequestForChangeSubAccount) Path() string
func (*RequestForChangeSubAccount) Payload ¶
func (req *RequestForChangeSubAccount) Payload() []byte
func (*RequestForChangeSubAccount) Query ¶
func (req *RequestForChangeSubAccount) Query() string
type RequestForCreateSubAccount ¶
type RequestForCreateSubAccount struct {
NickName string `json:"nickname"`
}
func (*RequestForCreateSubAccount) Method ¶
func (req *RequestForCreateSubAccount) Method() string
func (*RequestForCreateSubAccount) Path ¶
func (req *RequestForCreateSubAccount) Path() string
func (*RequestForCreateSubAccount) Payload ¶
func (req *RequestForCreateSubAccount) Payload() []byte
func (*RequestForCreateSubAccount) Query ¶
func (req *RequestForCreateSubAccount) Query() string
type RequestForDeleteSubAccount ¶
type RequestForDeleteSubAccount struct {
NickName string `json:"nickname"`
}
func (*RequestForDeleteSubAccount) Method ¶
func (req *RequestForDeleteSubAccount) Method() string
func (*RequestForDeleteSubAccount) Path ¶
func (req *RequestForDeleteSubAccount) Path() string
func (*RequestForDeleteSubAccount) Payload ¶
func (req *RequestForDeleteSubAccount) Payload() []byte
func (*RequestForDeleteSubAccount) Query ¶
func (req *RequestForDeleteSubAccount) Query() string
type RequestForSubAccounts ¶
type RequestForSubAccounts struct { }
func (*RequestForSubAccounts) Method ¶
func (req *RequestForSubAccounts) Method() string
func (*RequestForSubAccounts) Path ¶
func (req *RequestForSubAccounts) Path() string
func (*RequestForSubAccounts) Payload ¶
func (req *RequestForSubAccounts) Payload() []byte
func (*RequestForSubAccounts) Query ¶
func (req *RequestForSubAccounts) Query() string
type RequestForTransferSubAccount ¶
type RequestForTransferSubAccount struct { Coin string `json:"coin"` Size float64 `json:"size"` // out account name Source string `json:"source"` // in account name Destination string `json:"destination"` }
func (*RequestForTransferSubAccount) Method ¶
func (req *RequestForTransferSubAccount) Method() string
func (*RequestForTransferSubAccount) Path ¶
func (req *RequestForTransferSubAccount) Path() string
func (*RequestForTransferSubAccount) Payload ¶
func (req *RequestForTransferSubAccount) Payload() []byte
func (*RequestForTransferSubAccount) Query ¶
func (req *RequestForTransferSubAccount) Query() string
type ResponseForBalanceSubAccount ¶
type ResponseForBalanceSubAccount []Balance
type ResponseForChangeSubAccount ¶
type ResponseForChangeSubAccount string
type ResponseForCreateSubAccount ¶
type ResponseForCreateSubAccount SubAccount
type ResponseForDeleteSubAccount ¶
type ResponseForDeleteSubAccount string
type ResponseForSubAccounts ¶
type ResponseForSubAccounts []SubAccount
type SubAccount ¶
Click to show internal directories.
Click to hide internal directories.