config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 3 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
}

func LoadExtractConfigFromCLI

func LoadExtractConfigFromCLI() ExtractConfig

func (ExtractConfig) Validate

func (c ExtractConfig) Validate() error

type JSONConfig

type JSONConfig struct {
	Output string
}

func LoadJSONConfigFromCLI

func LoadJSONConfigFromCLI() JSONConfig

func (JSONConfig) Validate

func (c JSONConfig) Validate() error

type PostgresConfig

type PostgresConfig struct {
	ConnString string
}

func LoadPostgresConfigFromCLI

func LoadPostgresConfigFromCLI() PostgresConfig

func (PostgresConfig) Validate

func (c PostgresConfig) Validate() error

type TSVConfig

type TSVConfig struct {
	Output string
}

func LoadTSVConfigFromCLI

func LoadTSVConfigFromCLI() TSVConfig

func (TSVConfig) Validate

func (c TSVConfig) Validate() error

Jump to

Keyboard shortcuts

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