Versions in this module Expand all Collapse all v1 v1.0.1 Nov 26, 2026 Changes in this version + func ParseGraphQL(h httpcaddyfile.Helper) (caddyhttp.MiddlewareHandler, error) + func RegisterBackend(appName string, fn borrower) + type GraphQL struct + Backend string + Database string + Exposes []graphql.Expose + Policy string + Remote string + Remotes []Remote + Role string + Sources []Source + func (*GraphQL) CaddyModule() caddy.ModuleInfo + func (m *GraphQL) Provision(ctx caddy.Context) error + func (m *GraphQL) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error + func (m *GraphQL) UnmarshalCaddyfile(d *caddyfile.Dispenser) error + type Remote struct + Name string + URL string + type Site interface + Anchor func() *sql.DB + CanonicalSchema func(name string) (string, bool) + Dialect func() graphql.Dialect + Runtime func() graphql.Runtime + type Source struct + Backend string + Database string