gql

package
v0.0.0-...-c736a29 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const LiteNodeDataPath = sync.DefaultLightNodeHome + "/data"

LiteNodeDataPath is the path to the lite node data folder.

Variables

This section is empty.

Functions

func Server

func Server(ctx *sync.Context)

Server configures and starts the GQL server.

Types

type Resolver

type Resolver struct {
	PrimaryNode *sync.RPCNodeHandler
	Keeper      *sync.Keeper
	LogFile     string
}

Resolver is the GQL query resolver.

func (*Resolver) Mutation

func (r *Resolver) Mutation() baseGql.MutationResolver

Mutation is the entry point to tx execution.

func (*Resolver) Query

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

Query is the entry point to query execution.

Jump to

Keyboard shortcuts

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