hospitalisations

package
v1.8.4 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScopeAll = iota
	ScopeRegion
	ScopeProvince
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	reporter.Reporter
	Scope
}

Handler returns the number of hospitalisations. Use Scope to report by Region or Province.

func (*Handler) Endpoints

func (handler *Handler) Endpoints() simplejson.Endpoints

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

type Scope

type Scope int

Jump to

Keyboard shortcuts

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