vaccinations

package
v1.9.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScopeRegion = iota
	ScopeAge
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupedHandler

type GroupedHandler struct {
	reporter.Reporter
	reporter.VaccinationType
	Scope
}

GroupedHandler returns COVID-19 vaccinations grouped by region or age group, for a specific type (i.e. partial, full or booster vaccination)

func (GroupedHandler) Endpoints

func (handler GroupedHandler) Endpoints() simplejson.Endpoints

Endpoints implements the grafana-json Endpoint function. It returns all supported endpoints

type Handler

type Handler struct {
	reporter.Reporter
}

Handler returns the overall COVID-19 vaccinations

func (Handler) Endpoints

func (handler Handler) Endpoints() simplejson.Endpoints

Endpoints implements the grafana-json Endpoint function. It returns all supported endpoints

type LagHandler

type LagHandler struct {
	reporter.Reporter
}

LagHandler returns the time difference between partial and full COVID-19 vaccination

func (LagHandler) Endpoints

func (handler LagHandler) Endpoints() simplejson.Endpoints

type ManufacturerHandler added in v1.9.0

type ManufacturerHandler struct {
	reporter.Reporter
}

ManufacturerHandler returns COVID-19 vaccinations grouped by manufacturer

func (ManufacturerHandler) Endpoints added in v1.9.0

func (handler ManufacturerHandler) Endpoints() simplejson.Endpoints

Endpoints implements the grafana-json Endpoint function. It returns all supported endpoints

type RateHandler

type RateHandler struct {
	reporter.Reporter
	reporter.VaccinationType
	Scope
	demographics.Fetcher
	// contains filtered or unexported fields
}

func (RateHandler) Endpoints

func (r RateHandler) Endpoints() simplejson.Endpoints

type Scope

type Scope int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL