graphql

package
v0.0.0-...-60cbc98 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureRootMutation

func ConfigureRootMutation(conf func(rootMutation *graphql.Object) error) error

func ConfigureRootQuery

func ConfigureRootQuery(conf func(rootQuery *graphql.Object) error) error

func RegisterGraphQL

func RegisterGraphQL(init runtime.Initializer) error

Types

type ContextKey

type ContextKey string
const (
	GRAPHQL_CTX_NAKAMA_MODULE ContextKey = "nakama_module"
)

type GraphQLRequest

type GraphQLRequest struct {
	Query string `json:"query"`
}

Jump to

Keyboard shortcuts

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