controllers

package
v0.0.0-...-c3d1710 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CaseController

type CaseController interface {
	GetAllConfirmedCases(ctx echo.Context) error
	GetAllReportedDeaths(ctx echo.Context) error
	GetTestingTimeline(ctx echo.Context) error
	GetCumulativeProvincialTimeline(ctx echo.Context) error
}

func NewCaseController

func NewCaseController(baseUrl string) CaseController

type HospitalController

type HospitalController interface {
	GetPublicHospitals(ctx echo.Context) error
	GetPrivateHospitals(ctx echo.Context) error
}

func NewHospitalController

func NewHospitalController(baseUrl string) HospitalController

type LatestUpdateController

type LatestUpdateController interface {
	GetLatestUpdate(ctx echo.Context) error
}

func NewLatestUpdateController

func NewLatestUpdateController() LatestUpdateController

Jump to

Keyboard shortcuts

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