server

package
v0.0.0-...-a649508 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2021 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GraphQL

func GraphQL(cfg *config.ServerConfig, connection *database.Connection) http.HandlerFunc

GraphQL is the primary graphql handler.

func HTTP

func HTTP(cfg *config.ServerConfig)

HTTP is the backend server

func Playground

func Playground(cfg *config.ServerConfig) http.HandlerFunc

Playground is the GraphQL playground handler.

func Route

func Route(cfg *config.ServerConfig, connection *database.Connection) http.Handler

Route mounts all backend routes

Types

This section is empty.

Jump to

Keyboard shortcuts

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