proxy

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 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