config

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteConfigFile

func WriteConfigFile(configFilePath string, config *Config)

WriteConfigFile renders config using the template and writes it to configFilePath.

Types

type BaseConfig

type BaseConfig struct {
}

BaseConfig defines the server's basic configuration

type Config

type Config struct {
	BaseConfig `mapstructure:",squash"`
}

Config defines the server's top level configuration

func DefaultConfig

func DefaultConfig() *Config

func ParseConfig

func ParseConfig() (*Config, error)

ParseConfig retrieves the default environment configuration for Cosmos.

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