vaccinations

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ByRegion = iota
	ByAge
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BoosterHandler added in v1.12.0

type BoosterHandler struct {
	Reporter *reporter.Client
}

func (*BoosterHandler) Endpoints added in v1.12.0

func (b *BoosterHandler) Endpoints() simplejson.Endpoints

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

type GroupedHandler

type GroupedHandler struct {
	Reporter   *reporter.Client
	Type       int
	Accumulate bool
	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.Client
}

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 RateHandler

type RateHandler struct {
	Reporter *reporter.Client
	Type     int
	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