transmitter_adapter

package
v0.0.0-...-d193908 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBlocks

func GetBlocks() error

func GetBlocks2

func GetBlocks2() error

func Handler2

func Handler2(g http.ResponseWriter, r *http.Request) error

Types

type Adapter2

type Adapter2 struct {
	CLient *ethclient.Client
	Config config.AppConfig
}

func NewAdapter2

func NewAdapter2(cfg config.AppConfig) (a *Adapter2, err error)

func (*Adapter2) Opts

func (ap *Adapter2) Opts() *bridges.Opts

func (*Adapter2) Run

func (ap *Adapter2) Run(helper *bridges.Helper) (interface{}, error)

type Adapter3

type Adapter3 struct {
	CLient *ethclient.Client
	Config config.AppConfig
}

func (*Adapter3) Opts

func (ap *Adapter3) Opts() *bridges.Opts

func (*Adapter3) Run

func (ap *Adapter3) Run(helper *bridges.Helper) (interface{}, error)

Jump to

Keyboard shortcuts

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