graphql

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(db db.DB, jwt *jwt.Module) web.Module

New returns a new graphql module

Types

type Module

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

Module contains a graphql module for the web server. Implements web.Module

func (*Module) Name added in v0.0.4

func (m *Module) Name() string

Name return the module name

func (*Module) Route

func (m *Module) Route(s web.Server) error

Route attaches routes to the web server

Jump to

Keyboard shortcuts

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