Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cacher ¶
type Cacher struct { Fetcher // contains filtered or unexported fields }
func (*Cacher) AutoUpdate ¶ added in v1.12.1
type Fetcher ¶
type Fetcher interface { Fetch(ctx context.Context, dataType int) ([]apiclient.APIResponse, error) GetLastUpdated(ctx context.Context, dataType int) (time.Time, error) DataTypes() map[int]string }
Fetcher retrieves data from an API
Click to show internal directories.
Click to hide internal directories.