handler

package
v0.0.0-...-535f55b Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2018 License: MIT Imports: 8 Imported by: 0

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 New

func New(schema *graphql.Schema) *Handler

New returns an instance of a Handler.

func (*Handler) Handle

Handle serves as a main Lambda handler, translating API Gateway requests to GraphQL, and GraphQL responses back to API Gateway ones.

Jump to

Keyboard shortcuts

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