server

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package server provides the GraphQL server.

Index

Constants

View Source
const (
	// GraphqlEndpoint is the base endpoint for graphql and the endpoint for post requests to the graphql service.
	GraphqlEndpoint string = "/graphql"
	// GraphiqlEndpoint is the endpoint for the graphql user interface.
	GraphiqlEndpoint string = "/graphiql"
)

Variables

This section is empty.

Functions

func EnableGraphql

func EnableGraphql(engine *gin.Engine, consumerDB db.ConsumerDB, fetcher fetcher.ScribeFetcher)

EnableGraphql enables the scribe graphql service.

Types

This section is empty.

Directories

Path Synopsis
Package graph implements the GraphQL schema and resolvers.
Package graph implements the GraphQL schema and resolvers.
model
Package model provides the GraphQL model for the explorer service.
Package model provides the GraphQL model for the explorer service.
resolver
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