Versions in this module Expand all Collapse all v0 v0.3.0 Apr 28, 2022 Changes in this version + type Sources map[string]NewQuoteGetterFunc + func (sources Sources) Exists(name string) bool + func (sources Sources) Names() []string + func (sources Sources) String() string v0.2.0 Mar 31, 2022 Changes in this version + type NewQuoteGetterFunc func(string, *http.Client) QuoteGetter v0.1.1 Mar 22, 2022 Changes in this version + func DefaultClient(proxy string) (*http.Client, error) + func DoHTTPRequest(client *http.Client, req *http.Request) (*http.Response, error) + func NewError(source, isin, url string, err error) error + func NormalizeCurrency(currency string) string + type Error interface + Error func() string + Isin func() string + Source func() string + URL func() string + Unwrap func() error + type QuoteGetter interface + Client func() *http.Client + GetQuote func(ctx context.Context, isin, url string) (*Result, error) + Source func() string + type Result struct + Currency string + Date time.Time + Isin string + Price float32 + Source string + URL string