exec

package
v0.0.0-...-929251f Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2017 License: BSD-2-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const OpenTracingTagArgsPrefix = "graphql.args."
View Source
const OpenTracingTagError = "graphql.error"
View Source
const OpenTracingTagField = "graphql.field"
View Source
const OpenTracingTagTrivial = "graphql.trivial"
View Source
const OpenTracingTagType = "graphql.type"

keep in sync with main package

Variables

This section is empty.

Functions

func ExecuteRequest

func ExecuteRequest(ctx context.Context, e *Exec, document *query.Document, operationName string, variables map[string]interface{}, maxParallelism int) (interface{}, []*errors.QueryError)

func IntrospectSchema

func IntrospectSchema(s *schema.Schema) (interface{}, error)

Types

type Exec

type Exec struct {
	// contains filtered or unexported fields
}

func Make

func Make(s *schema.Schema, resolver interface{}) (*Exec, error)

type Unmarshaler

type Unmarshaler interface {
	ImplementsGraphQLType(name string) bool
	UnmarshalGraphQL(input interface{}) error
}

Jump to

Keyboard shortcuts

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