config

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(configPath string) (model.Config, error)

Types

type AccountConfig

type AccountConfig struct {
	Name    string
	Address string
	Chain   string
}

type ChainConfig

type ChainConfig struct {
	ID       string
	LCD      string
	Denom    string
	Exponent int
}

type Configuration added in v0.1.2

type Configuration struct {
	Accounts   []AccountConfig
	Validators []ValidatorsConfig
	Chains     []ChainConfig
	Zabbix     model.ZabbixConfig
}

type ValidatorsConfig added in v0.1.2

type ValidatorsConfig struct {
	Valoper string
	Chain   string
}

Jump to

Keyboard shortcuts

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