graph

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DetachedCtxMap = make(map[string]*detachedContext)
View Source
var DetachedTasksMap = make(map[string]*model.DetachedTask)
View Source
var ServerCtx context.Context

Functions

func CancelDetachedTasks

func CancelDetachedTasks()

CancelDetachedTasks call cancel on all the context

func TaskWG

func TaskWG(ctx context.Context, cliEngine *engine.Engine, task string, wg *sync.WaitGroup, errChan chan map[string]error)

Types

type GraphQLWriter

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

func (GraphQLWriter) Write

func (w GraphQLWriter) Write(p []byte) (int, error)

type Resolver

type Resolver struct{}

func (*Resolver) Mutation

func (r *Resolver) Mutation() generated.MutationResolver

Mutation returns generated.MutationResolver implementation.

func (*Resolver) Query

func (r *Resolver) Query() generated.QueryResolver

Query returns generated.QueryResolver implementation.

Directories

Path Synopsis
scalars

Jump to

Keyboard shortcuts

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