gf_eth_indexer

package
Version: v0.0.0-...-68b4e11 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client__index_block_range

func Client__index_block_range(p_block_start_uint uint64,
	p_block_end_uint uint64,
	p_indexer_cmds_ch chan (GF_indexer_cmd))

------------------------------------------------- INDEX_BLOCK_RANGE

func Init

func Init(p_get_worker_hosts_fn func(context.Context, *gf_eth_core.GF_runtime) []string,
	p_metrics *gf_eth_core.GF_metrics,
	p_runtime *gf_eth_core.GF_runtime) (chan (GF_indexer_cmd), *gf_core.GF_error)

-------------------------------------------------

Types

type GF_indexer

type GF_indexer chan (GF_indexer_cmd)

-------------------------------------------------

type GF_indexer_cmd

type GF_indexer_cmd struct {
	Block_start_uint uint64
	Block_end_uint   uint64
}

type GF_metrics

type GF_metrics struct {
	SQS__msgs_num__counter prometheus.Counter
}

-------------------------------------------------

func Metrics__init

func Metrics__init() (*GF_metrics, *gf_core.GF_error)

------------------------------------------------- INIT

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL