graphql_to_proto

package
v0.0.0-...-08db112 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(graphQLContract string, output io.Writer) error

func GenerateWithConfig

func GenerateWithConfig(graphQLContract string, output io.Writer, config Config) error

Types

type Argument

type Argument struct {
	Name string
	Type string
}

type Config

type Config struct {
	Prefix          string
	RemovePrefixes  []string
	ServiceName     string
	RequestAddition []string
}

Jump to

Keyboard shortcuts

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