Versions in this module Expand all Collapse all v0 v0.99.0 Feb 25, 2022 Changes in this version + func AppendCloseReason(ctx context.Context, reason string) context.Context + func SendError(w http.ResponseWriter, code int, errors ...*gqlerror.Error) + func SendErrorf(w http.ResponseWriter, code int, format string, args ...interface{}) + type GET struct + func (h GET) Do(w http.ResponseWriter, r *http.Request, exec graphql.GraphExecutor) + func (h GET) Supports(r *http.Request) bool + type InitPayload map[string]interface + func (p InitPayload) Authorization() string + func (p InitPayload) GetString(key string) string + func GetInitPayload(ctx context.Context) InitPayload + type MultipartForm struct + MaxMemory int64 + MaxUploadSize int64 + func (f MultipartForm) Do(w http.ResponseWriter, r *http.Request, exec graphql.GraphExecutor) + func (f MultipartForm) Supports(r *http.Request) bool + type Options struct + func (o Options) Do(w http.ResponseWriter, r *http.Request, exec graphql.GraphExecutor) + func (o Options) Supports(r *http.Request) bool + type POST struct + func (h POST) Do(w http.ResponseWriter, r *http.Request, exec graphql.GraphExecutor) + func (h POST) Supports(r *http.Request) bool + type Websocket struct + InitFunc WebsocketInitFunc + KeepAlivePingInterval time.Duration + PingPongInterval time.Duration + Upgrader websocket.Upgrader + func (t Websocket) Do(w http.ResponseWriter, r *http.Request, exec graphql.GraphExecutor) + func (t Websocket) Supports(r *http.Request) bool + type WebsocketInitFunc func(ctx context.Context, initPayload InitPayload) (context.Context, error)