proxy

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GraphqlMiddleware

type GraphqlMiddleware interface {
	OnRequest(l *lookup.Lookup, w *lookup.Walker, parser *parser.Parser, mod *parser.ManualAstMod)
}

type Proxy

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

func NewProxy

func NewProxy(mod *parser.ManualAstMod) *Proxy

func (*Proxy) OnQuery

func (p *Proxy) OnQuery()

func (*Proxy) SetInput

func (p *Proxy) SetInput(l *lookup.Lookup, w *lookup.Walker, parser *parser.Parser, mod *parser.ManualAstMod)

func (*Proxy) SetMiddleWares

func (p *Proxy) SetMiddleWares(middleWares ...GraphqlMiddleware)

Directories

Path Synopsis
middleware

Jump to

Keyboard shortcuts

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