fasthttp

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FastStaticProxy

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

func NewFastStaticProxy

func NewFastStaticProxy(requestConfigProvider proxy.RequestConfigProvider, middlewares ...middleware.GraphqlMiddleware) *FastStaticProxy

func (*FastStaticProxy) ListenAndServe

func (f *FastStaticProxy) ListenAndServe(addr string) error

type Proxy

type Proxy proxy.Proxy

func (*Proxy) HandleRequest

func (f *Proxy) HandleRequest(ctx *fasthttp.RequestCtx)

func (*Proxy) RewriteQuery

func (f *Proxy) RewriteQuery(config proxy.RequestConfig, ctx context.Context, requestURI []byte, query []byte, out io.Writer) error

func (*Proxy) SetContextValues

func (f *Proxy) SetContextValues(ctx context.Context, header *fasthttp.RequestHeader, addHeaders [][]byte) context.Context

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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