Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Averager ¶
type Averager struct {
// contains filtered or unexported fields
}
Averager tracks the average exchange rate for a currency over a period of time.
type Option ¶
type Option func(*Averager)
An Option configures an averager.
func WithCurrency ¶
WithCurrency sets the currency for the averager.
func WithFrequency ¶
WithFrequency sets the frequency for the averager.
func WithLogger ¶
WithLogger sets the logger for the averager.
Click to show internal directories.
Click to hide internal directories.