graphql

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2022 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package graphql contains the root GraphQL http handler

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	http.Handler
	io.Closer
}

Handler is the root GraphQL http handler

func NewHandler

func NewHandler(mrc *cache.MultiRepoCache, errorOut io.Writer) Handler

type Tracer

type Tracer struct {
	Out io.Writer
}

func (Tracer) ExtensionName

func (a Tracer) ExtensionName() string

func (Tracer) InterceptResponse

func (a Tracer) InterceptResponse(ctx context.Context, next graphql.ResponseHandler) *graphql.Response

func (*Tracer) Validate

func (a *Tracer) Validate(schema graphql.ExecutableSchema) error

Directories

Path Synopsis
Package connections implement a generic GraphQL relay connection
Package connections implement a generic GraphQL relay connection
Package models contains the various GraphQL data models
Package models contains the various GraphQL data models
Package resolvers contains the various GraphQL resolvers
Package resolvers contains the various GraphQL resolvers

Jump to

Keyboard shortcuts

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