config

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtractConfig

type ExtractConfig struct {
	MaxConcurrency       uint
	MaxRetries           uint
	BlockTime            uint
	BlockStart           uint64
	BlockStop            uint64
	LiveMonitoring       bool
	Insecure             bool
	ReIndex              bool
	MaxRecvMsgSize       int
	EnablePrometheus     bool
	PrometheusListenAddr string
}

func LoadExtractConfigFromCLI

func LoadExtractConfigFromCLI() ExtractConfig

func (ExtractConfig) Validate

func (c ExtractConfig) Validate() error

type PostgresConfig

type PostgresConfig struct {
	ConnString string
}

func LoadPostgresConfigFromCLI

func LoadPostgresConfigFromCLI() PostgresConfig

func (PostgresConfig) Validate

func (c PostgresConfig) Validate() error

Jump to

Keyboard shortcuts

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