apigateway

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCORSHeaders

func AddCORSHeaders(response events.APIGatewayProxyResponse)

AddCORSHeaders adds the necessary headers to a response to enable cross site requests

func Fail

func Fail(code int, msg string) events.APIGatewayProxyResponse

Fail returns a failure response

Types

This section is empty.

Jump to

Keyboard shortcuts

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