starwars

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: MIT Imports: 8 Imported by: 0

README

starwars example

This server demonstrates a few advanced features of graphql:

  • connections
  • unions
  • interfaces
  • enums

to run this server

go run ./example/starwars/server/server.go

and open http://localhost:8080 in your browser

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResolver

func NewResolver() generated.Config

Types

type Resolver

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

func (*Resolver) Droid

func (r *Resolver) Droid() generated.DroidResolver

func (*Resolver) FriendsConnection

func (r *Resolver) FriendsConnection() generated.FriendsConnectionResolver

func (*Resolver) Human

func (r *Resolver) Human() generated.HumanResolver

func (*Resolver) Mutation

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

func (*Resolver) Query

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

func (*Resolver) Starship

func (r *Resolver) Starship() generated.StarshipResolver

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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