proxy

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2020 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(targetSchema, targetHost, targetPort, proxyHost, proxyPort, path, buildDir string, colorizer aurora.Aurora) error

Types

type Proxy

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

func NewProxy

func NewProxy(target string) (*Proxy, error)

func (*Proxy) GetTraceReceipt

func (p *Proxy) GetTraceReceipt(tx string, wait bool) (types.TransactionReceipt, error)

func (*Proxy) ServeHTTP

func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*Proxy) Trace

func (p *Proxy) Trace(receipt types.TransactionReceipt, projectPath, buildDir string) error

Jump to

Keyboard shortcuts

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