graphql

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	DBConnector *storage.Database
	// contains filtered or unexported fields
}

func New

func New(conn *storage.Database, msgProducer message.TopicProducer) *Server

func (*Server) GraphQLHandler

func (s *Server) GraphQLHandler() http.HandlerFunc

func (*Server) ServerGraphQLDoc

func (s *Server) ServerGraphQLDoc() http.HandlerFunc

Directories

Path Synopsis
Portions of this file were taken from https://github.com/tonyghita/graphql-go-example/blob/main/schema/schema.go
Portions of this file were taken from https://github.com/tonyghita/graphql-go-example/blob/main/schema/schema.go
types
Custom implementation of JSON type because graph-gophers/graphql-go does not support the custom JSON scalar type
Custom implementation of JSON type because graph-gophers/graphql-go does not support the custom JSON scalar type

Jump to

Keyboard shortcuts

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