Documentation ¶ Index ¶ Variables func New(b *beat.Beat, cfg *common.Config) (beat.Beater, error) type Etherbeat func (bt *Etherbeat) Run(b *beat.Beat) error func (bt *Etherbeat) Stop() 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. Source Files ¶ View all Source files etherbeat.go Click to show internal directories. Click to hide internal directories.