Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FundCreditRequest ¶
FundCreditRequest is a request form for funding a credit
func NewFundCreditRequest ¶
func NewFundCreditRequest(accountID string, credit entities.Credit) *FundCreditRequest
NewFundCreditRequest initializes a FundCreditRequest instance
type FundCreditResponse ¶
type FundCreditResponse struct {
Data FundCreditResponseData `json:"data"`
}
FundCreditResponse is a response wrapper for FundCreditResponseData
func NewFundCreditResponse ¶
func NewFundCreditResponse(txHash string) FundCreditResponse
NewFundCreditResponse initializes a new FundCreditResponse instance
type FundCreditResponseData ¶
type FundCreditResponseData struct {
TXHash string `json:"txHash"`
}
FundCreditResponseData is a response form for funding a credit
Click to show internal directories.
Click to hide internal directories.