worker

package
v0.0.0-...-70addda Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockWorker

type BlockWorker interface {
	Start(ctx context.Context)
	Stop()
}

func NewBlockWorker

func NewBlockWorker(
	id int,
	client *ethclient.Client,
	repo repository.EthereumIndexRepository,
	blockNumberCh chan *big.Int,
) BlockWorker

Jump to

Keyboard shortcuts

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