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.
Click to show internal directories.
Click to hide internal directories.