graphql

package module
v0.0.0-...-2c7a326 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2015 License: MIT Imports: 5 Imported by: 0

README

graphql

GoDoc

GraphQL packages for golang.

Notes

I started this as a fun project when facebook first announced GraphQL and all of this is just based on scraping together stuff from slides.

My commitment to this is still fun only so don't get your hopes up to get a feature complete implementation anytime soon.

Refs

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data map[string]interface{}

type Executor

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

func NewExecutor

func NewExecutor() *Executor

func (*Executor) Register

func (e *Executor) Register(name string, s Store) error

func (*Executor) ServeHTTP

func (e *Executor) ServeHTTP(rw http.ResponseWriter, req *http.Request)

type Store

type Store interface {
	Get(int64, []string) (Data, error)
}

Notes

Bugs

  • dont replace

Directories

Path Synopsis
Package parse implements a lexer and parser for graphql - facebooks query language for relay/react TODO add functions of nodes - eg: .after()
Package parse implements a lexer and parser for graphql - facebooks query language for relay/react TODO add functions of nodes - eg: .after()

Jump to

Keyboard shortcuts

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