config

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrConfigNotFound = errors.New("config not found")
View Source
var ErrGetConfig = errors.New("config not found")

Functions

func CreateConfig

func CreateConfig(moniker, root string) (*cfg.Config, error)

func GetConfig

func GetConfig(root string) (*cfg.Config, error)

func SaveConfig

func SaveConfig(c *cfg.Config)

Types

type GenTx

type GenTx struct {
	Name      string
	CliRoot   string
	Overwrite bool
	IP        string
}

Storage for init gen-tx command input parameters

Jump to

Keyboard shortcuts

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