alb

package
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InternalServerError

func InternalServerError(err error) (events.ALBTargetGroupResponse, error)

InternalServerError creates an AWS ALB compatible Internal Server Error payload given a Go error object. Returns any errors.

func LambdaToALBResponse

func LambdaToALBResponse(statuscode int, body string) (events.ALBTargetGroupResponse, error)

LambdaToALBResponse creates an AWS ALB compatible response payload dependent on a given status code and body message. Returns any errors.

func NotFoundResponse

func NotFoundResponse() (events.ALBTargetGroupResponse, error)

NotFoundResponse creates an AWS ALB compatible Not Found payload with an empty body. Returns any errors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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