graph

package
v0.0.0-...-c39d860 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

This file will not be regenerated automatically.

It serves as dependency injection for your app, add any dependencies you require here.

Index

Constants

This section is empty.

Variables

View Source
var TestOptions = EndpointOptions{
	EnableDebug: false,
}

Functions

func GraphQLEndpointHandler

func GraphQLEndpointHandler(opts EndpointOptions) http.Handler

Types

type EndpointOptions

type EndpointOptions struct {
	EnableDebug bool
}

type Resolver

type Resolver struct{}

func (*Resolver) Entity

func (r *Resolver) Entity() generated.EntityResolver

Entity returns generated.EntityResolver implementation.

func (*Resolver) Query

func (r *Resolver) Query() generated.QueryResolver

Query returns generated.QueryResolver implementation.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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