fetcher

package
v0.0.0-...-450f598 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(apinode, wsnode string, network int, handler Handler) (indexer.Fetcher, error)

New .

func ToHexString

func ToHexString(b []byte) string

ToHexString .

Types

type Handler

type Handler interface {
	Block(block *bnb.Blocks, blockNumber int64, blockTime time.Time) error
	TX(tx *bnb.Transaction, blockNumber int64, blockTime time.Time) error
}

Handler .

Jump to

Keyboard shortcuts

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