gqlgen

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOperationContext added in v0.0.4

func CreateOperationContext(params Params) (*graphql.OperationContext, error)

Types

type ExecOption added in v0.0.4

type ExecOption func(es *ExecutableSchema)

func WithReservedTypes added in v0.0.4

func WithReservedTypes(want bool) ExecOption

type ExecutableSchema added in v0.0.4

type ExecutableSchema struct {
	ParsedSchema *ast.Schema
	// contains filtered or unexported fields
}

func NewExecutableSchema

func NewExecutableSchema(filenames ...string) (*ExecutableSchema, error)

func (*ExecutableSchema) Exec added in v0.0.4

type Params added in v0.0.4

type Params struct {
	Schema    *ast.Schema
	Query     string
	Variables map[string]interface{}
}

Jump to

Keyboard shortcuts

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