beater

package
v0.0.0-...-4d60277 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: Apache-2.0, Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrStartBlockTooLarge is returned when start_block is greater than the current chain height
	ErrStartBlockTooLarge = fmt.Errorf("Current Ethereum block number is less than start_block")
)

Functions

func New

func New(b *beat.Beat, cfg *common.Config) (beat.Beater, error)

New creates an instance of etherbeat.

Types

type Etherbeat

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

Etherbeat configuration.

func (*Etherbeat) Run

func (bt *Etherbeat) Run(b *beat.Beat) error

Run starts etherbeat.

func (*Etherbeat) Stop

func (bt *Etherbeat) Stop()

Stop stops etherbeat.

Jump to

Keyboard shortcuts

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