schema

package
v0.0.0-...-77132cc Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opt ...Option) interfaces.Schema

New creates a new schema

Types

type Option

type Option func(*Options)

Option func

func Mutation

func Mutation(c interfaces.Object) Option

Mutation to set mutation object

func Query

func Query(c interfaces.Object) Option

Query to set query object

func Subscription

func Subscription(c interfaces.Object) Option

Subscription to set subscription object

type Options

type Options struct {
	Query, Mutation, Subscription interfaces.Object
}

Options struct

Jump to

Keyboard shortcuts

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