graphql

package
v0.0.0-...-259ba49 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(p GQLParams)

func NewConfig

func NewConfig(r Resolver) internal.Config

Types

type GQLParams

type GQLParams struct {
	fx.In

	Router chi.Router
	// TxOpener internal.State
	Schema graphql.ExecutableSchema
}

type Resolver

type Resolver struct {
	fx.In

	Graph *internal.Client
}

func (*Resolver) Query

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

Query returns internal.QueryResolver implementation.

Jump to

Keyboard shortcuts

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