Documentation
¶
Index ¶
- type Client
- func (c Client) GetBalancesFromDate(from time.Time) (data.Balances, error)
- func (c Client) GetFiat() string
- func (c Client) GetFiatSymbol() string
- func (c Client) GetLastBalance() data.Balances
- func (c Client) GetLastBalanceUpdate() time.Time
- func (c Client) QueryBalance(options data.BalanceQueryOptions) (data.Balances, error)
- func (c Client) UpdateBalance(updateTtlSeconds int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (Client) GetBalancesFromDate ¶ added in v0.0.26
Get balance within range
func (Client) GetFiatSymbol ¶
func (Client) GetLastBalance ¶
GetLastBalance return last balance series
func (Client) GetLastBalanceUpdate ¶
GetLastBalanceUpdate return timestamp of last balance update
func (Client) QueryBalance ¶
QueryBalance will fetch data from the DB
func (Client) UpdateBalance ¶
UpdateBalance will update the balance for each wallet if rs exceeds updateTtlSeconds
Click to show internal directories.
Click to hide internal directories.