Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler wraps a GraphQL schema to interface with AWS API Gateway.
func (*Handler) Handle ¶
func (h *Handler) Handle(ctx context.Context, event events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error)
Handle serves as a main Lambda handler, translating API Gateway requests to GraphQL, and GraphQL responses back to API Gateway ones.
Click to show internal directories.
Click to hide internal directories.