graphql

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Handler *relay.Handler

Functions

func AttachControllers

func AttachControllers(r *gin.RouterGroup) error

func Handle

func Handle(c *graphql_context.Context, exec func(req *Request) *graphql.Response)

Types

type File

type File struct {
	File     multipart.File
	Filename string
	Size     int64
}

type PanicHandler

type PanicHandler struct{}

func (PanicHandler) MakePanicError

func (p PanicHandler) MakePanicError(ctx context.Context, value interface{}) *gqlerrors.QueryError

type Request

type Request struct {
	OperationName string
	Query         string
	Variables     map[string]interface{}
	Context       context.Context
}

Request is the request content

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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