config

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 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 {
	GenesisPath  string
	Home         string
	ChainID      string
	RPCEndpoints []string
	WSEndpoints  []string
	MantlemintDB string
	IndexerDB    string
	DisableSync  bool
}

func NewConfig

func NewConfig() Config

NewConfig converts envvars into consumable config chunks

func (Config) Print

func (cfg Config) Print()

Jump to

Keyboard shortcuts

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