beater

package
v0.0.0-...-44aa02a Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: 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 greyelk.

Types

type GreyELK

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

GreyELK configuration.

func (*GreyELK) Run

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

Run starts greyelk.

func (*GreyELK) Stop

func (bt *GreyELK) Stop()

Stop stops greyelk.

Jump to

Keyboard shortcuts

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