package
0.17.66
Repository: https://github.com/99designs/gqlgen.git
Documentation: pkg.go.dev

# Functions

AddSubscriptionError is used to let websocket return an error message after subscription resolver returns a channel.
GetInitPayload gets a map of the data sent with the connection_init message, which is used by graphql clients as a stand-in for HTTP headers.
SendError sends a best effort error to a raw response writer.
SendErrorf wraps SendError to add formatted messages.

# Structs

GET implements the GET side of the default HTTP transport defined in https://github.com/APIs-guru/graphql-over-http#get.
GRAPHQL implements the application/graphql side of the HTTP transport see: https://graphql.org/learn/serving-over-http/#post-request If the "application/graphql" Content-Type header is present, treat the HTTP POST body contents as the GraphQL query string.
MultipartForm the Multipart request spec https://github.com/jaydenseric/graphql-multipart-request-spec.
MultipartMixed is a transport that supports the multipart/mixed spec.
Options responds to http OPTIONS and HEAD requests.
POST
POST implements the POST side of the default HTTP transport defined in https://github.com/APIs-guru/graphql-over-http#post.
FORM implements the application/x-www-form-urlencoded side of the default HTTP transport.

# Type aliases

InitPayload is a structure that is parsed from the websocket init message payload.