server

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 14 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"
	// HealthCheck is the health check endpoint.
	HealthCheck string = "/health-check"
)

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, port uint16, database string, path string) error

Start starts the server and initializes the database.

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
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