api

package
v0.0.0-...-ece30a1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

Log prints critical request data to Cloud Watch in a human-readable format.

func Response

func Response(code int, v ...interface{}) (events.APIGatewayProxyResponse, error)

Response returns an API Gateway Proxy Response with a nil error to provide detailed status codes and response bodies. While a status code must be provided, further arguments are recognized with reflection but not required.

Types

This section is empty.

Jump to

Keyboard shortcuts

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