api

package
v1.8.0-beta Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: AGPL-3.0 Imports: 10 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