easyawsapigateway

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: MIT Imports: 5 Imported by: 0

README

easyawsapigateway

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowCors

func AllowCors() map[string]string

func AllowCorsWithAudio

func AllowCorsWithAudio() map[string]string

func InvalidParams

func InvalidParams(m string) events.APIGatewayProxyResponse

Returns a API gateway appropriate error to client

func MethodNotAllowed

func MethodNotAllowed() events.APIGatewayProxyResponse

func NotFound

Returns a API gateway appropriate error to client

func RequestUnauthorized

func RequestUnauthorized(hint string) events.APIGatewayProxyResponse

Returns a API unauthorized to client

func ServerError

func ServerError(err error, hint string) events.APIGatewayProxyResponse

Returns a API gateway appropriate error to client

func SuccessCreated

func SuccessCreated() events.APIGatewayProxyResponse

func SuccessEmptyArray

func SuccessEmptyArray() events.APIGatewayProxyResponse

func SuccessNoContent

func SuccessNoContent() events.APIGatewayProxyResponse

func SuccessWithAudio

func SuccessWithAudio(s string) events.APIGatewayProxyResponse

Types

This section is empty.

Jump to

Keyboard shortcuts

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