Documentation ¶
Index ¶
- func AddToContext(ctx context.Context, request *events.APIGatewayProxyRequest) context.Context
- func Response(ctx context.Context, status int, request *events.APIGatewayProxyRequest, ...) *events.APIGatewayProxyResponse
- func ResponseError(ctx context.Context, status int, request *events.APIGatewayProxyRequest, ...) *events.APIGatewayProxyResponse
- func ResponseRaw(ctx context.Context, status int, body string) *events.APIGatewayProxyResponse
- type ErrorBody
- type Patch
- type PatchRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToContext ¶
AddToContext adds request data to context
func Response ¶
func Response(ctx context.Context, status int, request *events.APIGatewayProxyRequest, body interface{}) *events.APIGatewayProxyResponse
func ResponseError ¶
func ResponseError(ctx context.Context, status int, request *events.APIGatewayProxyRequest, err error) *events.APIGatewayProxyResponse
func ResponseRaw ¶
Types ¶
type PatchRequest ¶
type PatchRequest []Patch
Click to show internal directories.
Click to hide internal directories.