Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(endpoint string, resolvers gqlschema.ResolverRoot, directives gqlschema.DirectiveRoot) http.HandlerFunc
Handler combines graphql handler and playground handler.
func NewDirective ¶
func NewDirective() gqlschema.DirectiveRoot
NewDirective creates a new directive.
func NewResolver ¶
NewResolver combines all resolvers to a resolver root.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.