api

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup()

Setup parses the environment and constructs AWS and http clients on a cold Lambda start.

Types

type API

type API struct{}

API provides receiver methods for each route handler.

func (API) GetMetrics

func (API) GetMetrics(input *models.GetMetricsInput) (*models.GetMetricsOutput, error)

GetMetrics routes the requests for various metric data to the correct handlers

Jump to

Keyboard shortcuts

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