Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDataFormat = errors.New("unexpected data format")
Functions ¶
This section is empty.
Types ¶
type ExchangeRate ¶
type Service ¶
type Service interface { Fetch(ctx context.Context, base, to string) (*ExchangeRate, error) List(ctx context.Context) ([]*ExchangeRate, error) }
func NewCachedExchangeRate ¶
Click to show internal directories.
Click to hide internal directories.