graphql

package
v0.0.0-...-e331df4 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

GraphQL handler structure.

func NewHandler

func NewHandler(service *service.Service, config *config.GraphQLConfig) *Handler

Creating a new graphql handler.

func (*Handler) GraphqlHandler

func (h *Handler) GraphqlHandler() http.HandlerFunc

GraphQL handler.

func (*Handler) PlaygroundHandler

func (h *Handler) PlaygroundHandler() http.HandlerFunc

GraphQL playground handler.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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