gql

package
v0.0.0-...-d69ca4f Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: MIT Imports: 9 Imported by: 0

README

GraphQL

This directory's purpose:

  • Define GraphQL stuff (handlers, schema, resolvers)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GraphqlHandler

GraphqlHandler defines the GQLGen GraphQL server handler

func PlaygroundHandler

func PlaygroundHandler(path string) gin.HandlerFunc

PlaygroundHandler Defines the Playground handler to expose our playground

Types

type Resolver

type Resolver struct {
	UserService  userservice.UserService
	AuthService  authservice.AuthService
	EmailService emailservice.EmailService
}

Resolver struct

func (*Resolver) Mutation

func (r *Resolver) Mutation() gen.MutationResolver

Mutation graphql

func (*Resolver) Query

func (r *Resolver) Query() gen.QueryResolver

Query graphql

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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