server

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 8 Imported by: 1

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 added in v0.0.19

func EnableGraphql(engine *gin.Engine, eventDB db.EventDB, omniRPCURL string, metrics metrics.Handler)

EnableGraphql enables the scribe graphql service.

Types

This section is empty.

Directories

Path Synopsis
Package graph provides the GraphQL resolvers.
Package graph provides the GraphQL resolvers.
model
Package model defines models returned by the graphql server
Package model defines models returned by the graphql server
resolver
Package resolvers resolves data from gqlgen
Package resolvers resolves data from gqlgen
Package types provides the GraphQL types for the Scribe service.
Package types provides the GraphQL types for the Scribe service.

Jump to

Keyboard shortcuts

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