apiclient

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GroupByAgeGroup is used by GetGroupFieldName. This groups all data by Age Group.
	GroupByAgeGroup int = iota
	// GroupByRegion is used by GetGroupFieldName. This groups all data by Region
	GroupByRegion
	// GroupByProvince is used by GetGroupFieldName. This groups all data by Province
	GroupByProvince
	// GroupByManufacturer is used by GetGroupFieldName. This groups all vaccines by manufacturer
	GroupByManufacturer
)

Variables

This section is empty.

Functions

This section is empty.

Types

type APIResponse added in v1.8.4

type APIResponse interface {
	GetTimestamp() time.Time
	GetGroupFieldValue(groupField int) (value string)
	GetTotalValue() float64
	GetAttributeNames() []string
	GetAttributeValues() []float64
}

APIResponse is the interface that each apiclient response needs to adhere to. These allow datasets to process API responses in a generic way

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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