graph

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 8 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 {
	DB db.EventDB
}

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

Jump to

Keyboard shortcuts

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