config

package
v0.0.0-...-0a2a6da Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	PG  pg.Config  `mapstructure:"PG"`
	ETH eth.Config `mapstructure:"ETH"`
}

func Load

func Load(path string) (*Config, error)

Load reads the config from the given file path (or $HOME/.ethstat.yaml when path is empty) and from environment variables.

Jump to

Keyboard shortcuts

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