Documentation
¶
Index ¶
- Constants
- type Reporter
- func (r *Reporter) Get() (results *data.Table, err error)
- func (r *Reporter) GetByAgeGroup(vaccinationType int) (results *data.Table, err error)
- func (r *Reporter) GetByManufacturer() (results *data.Table, err error)
- func (r *Reporter) GetByRegion(vaccinationType int) (results *data.Table, err error)
Constants ¶
View Source
const ( // TypeAll tells getByType not to filter by type of vaccination TypeAll = iota // TypePartial filters partial vaccinations TypePartial // TypeFull filters full vaccinations. It counts 2nd vaccinations and single dose vaccinations TypeFull // TypeBooster filters booster vaccinations TypeBooster )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reporter ¶
type Reporter struct { ReportCache *reportCache.Cache APIClient fetcher.Fetcher }
func (*Reporter) GetByAgeGroup ¶
GetByAgeGroup returns all vaccinations, grouped by age group
func (*Reporter) GetByManufacturer ¶
GetByManufacturer returns all vaccinations, grouped by manufacturer
Click to show internal directories.
Click to hide internal directories.