graph

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package graph implements the GraphQL schema and resolvers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPartialInfoFromBridgeEventSingle added in v0.0.25

func GetPartialInfoFromBridgeEventSingle(res sql.BridgeEvent) (*model.PartialInfo, error)

GetPartialInfoFromBridgeEventSingle returns the partial info from bridge event.

Types

type Resolver

type Resolver struct {
	DB      db.ConsumerDB
	Fetcher fetcher.ScribeFetcher
}

Resolver is the root resolver.

func (*Resolver) Query

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

Query returns resolvers.QueryResolver implementation.

Directories

Path Synopsis
Package model provides the GraphQL model for the explorer service.
Package model provides the GraphQL model for the explorer service.
Package resolvers provides the GraphQL resolver for the explorer service.
Package resolvers provides the GraphQL resolver for the explorer service.

Jump to

Keyboard shortcuts

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