exec

package
v0.0.0-...-16c3363 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2016 License: BSD-2-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBuiltinScalars

func AddBuiltinScalars(s *schema.Schema)

func AddCustomScalar

func AddCustomScalar(s *schema.Schema, name string, reflectType reflect.Type, coerceInput func(input interface{}) (interface{}, error))

func ExecuteRequest

func ExecuteRequest(ctx context.Context, e *Exec, document *query.Document, operationName string, variables map[string]interface{}) (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)

Jump to

Keyboard shortcuts

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