proxy

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 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,
	provider providers.DeploymentProvider,
) error

Types

type Proxy

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

func NewProxy

func NewProxy(target string, provider providers.DeploymentProvider) (*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