server

package
v0.1.27 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MIT Imports: 14 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.EventDB, config serverConfig.Config, handler metrics.Handler)

EnableGraphql enables the sinner 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.
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