executor

package
v0.0.0-...-08ddf37 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2017 License: ISC Imports: 7 Imported by: 4

Documentation

Overview

Package executor produces results from a graphql Operation and Schema.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

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

func New

func New(schema *schema.Schema) *Executor

func (*Executor) HandleOperation

func (e *Executor) HandleOperation(ctx context.Context, o *graphql.Operation) (interface{}, error)

func (*Executor) Resolve

func (e *Executor) Resolve(ctx context.Context, partial interface{}, field *graphql.Field) (interface{}, error)

Directories

Path Synopsis
Package resolver exposes the Resolver interface
Package resolver exposes the Resolver interface
Package tracer provides an interface to attach execution metadata to a context.
Package tracer provides an interface to attach execution metadata to a context.

Jump to

Keyboard shortcuts

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