graphql

package
v0.0.0-...-4334ecd Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GQLHandler

type GQLHandler func(flamedContext *flamedContext.FlamedContext) *goGraphQL.Field

type GraphQL

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

func NewGraphQL

func NewGraphQL(flamedContext *flamedContext.FlamedContext) *GraphQL

func (*GraphQL) AddMutationField

func (g *GraphQL) AddMutationField(name string, handler GQLHandler)

func (*GraphQL) AddQueryField

func (g *GraphQL) AddQueryField(name string, handler GQLHandler)

func (*GraphQL) AddSubscriptionField

func (g *GraphQL) AddSubscriptionField(name string, handler GQLHandler)

func (*GraphQL) BuildSchema

func (g *GraphQL) BuildSchema() (goGraphQL.Schema, error)

func (*GraphQL) GetSchema

func (g *GraphQL) GetSchema() goGraphQL.Schema

func (*GraphQL) IsSchemaAvailable

func (g *GraphQL) IsSchemaAvailable() bool

Jump to

Keyboard shortcuts

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