Versions in this module Expand all Collapse all v0 v0.4.2 Feb 12, 2025 v0.4.1 Nov 14, 2024 Changes in this version + var ErrHTTP = errors.New("unexpected HTTP error") + var ErrNoURL = errors.New("please configure your Nightscout URL") + var ErrNotModified = errors.New("not modified") + func BuildURL(conf *config.Config) (*url.URL, error) + func BuildURLWithToken(conf *config.Config) (*url.URL, error) + type Fetch struct + func NewFetch(conf *config.Config) *Fetch + func (f *Fetch) Do(ctx context.Context) (*nightscout.Properties, error) + func (f *Fetch) Reset() + func (f *Fetch) UpdateURL() error