graph

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package graph provides the GraphQL resolvers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver struct {
	OmniRPCURL string
	DB         db.EventDB
	Metrics    metrics.Handler
}

Resolver is the root resolver.

func (*Resolver) Log

func (r *Resolver) Log() resolvers.LogResolver

Log returns resolvers.LogResolver implementation.

func (*Resolver) Query

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

Query returns resolvers.QueryResolver implementation.

func (*Resolver) Receipt

func (r *Resolver) Receipt() resolvers.ReceiptResolver

Receipt returns resolvers.ReceiptResolver implementation.

func (*Resolver) Transaction

func (r *Resolver) Transaction() resolvers.TransactionResolver

Transaction returns resolvers.TransactionResolver implementation.

Directories

Path Synopsis
Package model defines models returned by the graphql server
Package model defines models returned by the graphql server
Package resolvers resolves data from gqlgen
Package resolvers resolves data from gqlgen

Jump to

Keyboard shortcuts

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