proxy

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2019 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) (ethereum.TransactionReceipt, error)

func (*Proxy) ServeHTTP

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

func (*Proxy) Trace

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

Jump to

Keyboard shortcuts

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