indexer

package
v0.0.0-...-663aea3 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Flags

func Flags(v *viper.Viper, f *pflag.FlagSet)

func NewIndexerListenerError

func NewIndexerListenerError(err error) error

Types

type Configuration

type Configuration struct {
	BeaconAPIURL               string
	RelayAPIURLs               []string
	DatabaseMigrationSourceURL string
	DatabaseConnURL            string
}

func NewConfigurationFromViper

func NewConfigurationFromViper(v *viper.Viper) *Configuration

type Indexer

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

func New

func New(listener events.HeadListener,
	aggregator data.Aggregator,
	preprocessor *data.Preprocessor,
	storage storage.Manager,
) *Indexer

func (*Indexer) Start

func (indexer *Indexer) Start(ctx context.Context) error

func (*Indexer) Stop

func (indexer *Indexer) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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