proxy

package
v0.0.0-...-765cc39 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2018 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EthHandler

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

func NewEthHandler

func NewEthHandler(store *cache.ETHStore, auditor audit.Auditor, hWatcher *cache.BlockHeightWatcher, enabledAPIs []string) *EthHandler

func (*EthHandler) Handle

func (h *EthHandler) Handle(res http.ResponseWriter, req *http.Request, backend *config.Backend)

type Proxy

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

func NewProxy

func NewProxy(sw backend.Switcher, auditor audit.Auditor, store *cache.ETHStore, fHelper *cache.BlockHeightWatcher, config *config.Config) *Proxy

func (*Proxy) Start

func (p *Proxy) Start() error

func (*Proxy) Stop

func (p *Proxy) Stop() error

Jump to

Keyboard shortcuts

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