graphql

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(endpoint string, resolvers gqlschema.ResolverRoot, directives gqlschema.DirectiveRoot) http.HandlerFunc

Handler combines graphql handler and playground handler.

func NewDirective

func NewDirective() gqlschema.DirectiveRoot

NewDirective creates a new directive.

func NewResolver

func NewResolver(db *gorm.DB, passStrength int, version model.Version) gqlschema.ResolverRoot

NewResolver combines all resolvers to a resolver root.

Types

This section is empty.

Jump to

Keyboard shortcuts

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