Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GraphqlHandler = handler.New(&handler.Config{ Schema: &Schema, Pretty: true, GraphiQL: true, })
GraphqlHandler : GraphQL schema handler
Handler config options ¶
Schema : GraphQL schema definition variable name
Pretty : Show sorted json code in GraphiQL
GraphiQL : Show GraphQL GUI request form in web browser
View Source
var Schema, _ = graphql.NewSchema(
graphql.SchemaConfig{
Query: queryTypes,
Mutation: mutationTypes,
},
)
Schema : GraphQL schema definition
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.