package
Version:
v0.3.2
Opens a new window with list of versions in this module.
Published: Apr 22, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AssetBreakdown struct {
Group string `json:"group"`
DrawnAmount float64 `json:"drawn_amount"`
RepaidAmount float64 `json:"repaid_amount"`
InterestAmount float64 `json:"interest_amount"`
BalanceAmount float64 `json:"balance_amount"`
APR float64 `json:"apr"`
}
type Interest struct {
Account string `json:"account"`
OverviewTimeline []Overview `json:"overview_timeline"`
APR float64 `json:"apr"`
}
type Overview struct {
Date time.Time `json:"date"`
DrawnAmount float64 `json:"drawn_amount"`
RepaidAmount float64 `json:"repaid_amount"`
InterestAmount float64 `json:"interest_amount"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.