utils

package
v0.0.0-...-dffdb9d Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildGatewayResponse

func BuildGatewayResponse(status_code int) (events.APIGatewayProxyResponse, error)

Build response to gateway with status code

func BuildJSONGatewayResponse

func BuildJSONGatewayResponse(status_code int, v interface{}) (events.APIGatewayProxyResponse, error)

Build JSON response for gateway from status code and interface

func UnmarshallGatewayRequestBody

func UnmarshallGatewayRequestBody(req events.APIGatewayProxyRequest, v interface{})

Unmarshall JSON from request to intrerface

Types

This section is empty.

Jump to

Keyboard shortcuts

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