Versions in this module Expand all Collapse all v0 v0.2.3 Dec 12, 2018 Changes in this version + const ContentTypeFormURLEncoded + const ContentTypeGraphQL + const ContentTypeJSON + type Config struct + FormatErrorFn func(err error) gqlerrors.FormattedError + GraphiQL bool + Playground bool + Pretty bool + ResultCallbackFn ResultCallbackFn + RootObjectFn RootObjectFn + Schema *graphql.Schema + func NewConfig() *Config + type Handler struct + Schema *graphql.Schema + func New(p *Config) *Handler + func (h *Handler) ContextHandler(ctx context.Context, w http.ResponseWriter, r *http.Request) + func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type RequestOptions struct + OperationName string + Query string + Variables map[string]interface{} + func NewRequestOptions(r *http.Request) *RequestOptions + type ResultCallbackFn func(ctx context.Context, params *graphql.Params, result *graphql.Result, ...) + type RootObjectFn func(ctx context.Context, r *http.Request) map[string]interface