Documentation ¶
Index ¶
- func RegisterHandlers(mux *http.ServeMux, h *Handler)
- type GetAddressesResponse
- type GetBalanceResponsedeprecated
- type GetHistoryResponse
- type GetIncomeResponse
- type Handler
- type ServiceJettonWithdrawalRequest
- type ServiceTonWithdrawalRequest
- type WalletAddress
- type WithdrawalRequest
- type WithdrawalResponse
- type WithdrawalStatusResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHandlers ¶
Types ¶
type GetAddressesResponse ¶
type GetAddressesResponse struct {
Addresses []WalletAddress `json:"addresses"`
}
type GetBalanceResponse
deprecated
type GetBalanceResponse struct { Side string `json:"counting_side"` Balances []balance `json:"balances"` }
Deprecated: GetBalance method renamed to GetIncome
type GetHistoryResponse ¶
type GetHistoryResponse struct {
Incomes []income `json:"incomes"`
}
type GetIncomeResponse ¶
type GetIncomeResponse struct { Side string `json:"counting_side"` TotalIncomes []totalIncome `json:"total_income"` }
type ServiceTonWithdrawalRequest ¶
type ServiceTonWithdrawalRequest struct {
From string `json:"from"`
}
type WalletAddress ¶
type WithdrawalRequest ¶
type WithdrawalResponse ¶
type WithdrawalResponse struct {
ID int64 `json:"ID"`
}
type WithdrawalStatusResponse ¶
type WithdrawalStatusResponse struct {
Status core.WithdrawalStatus `json:"status"`
}
Click to show internal directories.
Click to hide internal directories.