gql

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(s *tickerdb.TickerSession, l *hlog.Entry) *resolver

New creates a new GraphQL resolver

Types

type BigInt

type BigInt int

func (BigInt) ImplementsGraphQLType

func (BigInt) ImplementsGraphQLType(name string) bool

func (BigInt) MarshalJSON

func (bigInt BigInt) MarshalJSON() ([]byte, error)

func (*BigInt) UnmarshalGraphQL

func (bigInt *BigInt) UnmarshalGraphQL(input interface{}) error

type GraphiQL

type GraphiQL struct{}

GraphiQL is an in-browser IDE for exploring GraphiQL APIs. This handler returns GraphiQL when requested.

For more information, see https://github.com/graphql/graphiql.

func (GraphiQL) ServeHTTP

func (h GraphiQL) ServeHTTP(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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