Versions in this module Expand all Collapse all v2 v2.0.0 Feb 23, 2022 Changes in this version + var HomePath = "" + func GetConfigFilePath() string + func Write(cfg Config, path string) error + type ChainConfig struct + Bech32Prefix string + Modules []string + func DefaultChainConfig() ChainConfig + func NewChainConfig(bech32Prefix string, modules []string) ChainConfig + func (cfg ChainConfig) IsModuleEnabled(moduleName string) bool + type Config struct + Chain ChainConfig + Database databaseconfig.Config + Logging loggingconfig.Config + Node nodeconfig.Config + Parser parserconfig.Config + var Cfg Config + func DefaultConfig() Config + func DefaultConfigParser(configData []byte) (Config, error) + func NewConfig(nodeCfg nodeconfig.Config, chainCfg ChainConfig, ...) Config + func Read(configPath string, parser Parser) (Config, error) + func (c Config) GetBytes() []byte + type Parser = func(fileContents []byte) (Config, error) v2.0.0-stargate Feb 23, 2022 Other modules containing this package github.com/forbole/juno/v3 github.com/forbole/juno/v4 github.com/forbole/juno/v5 github.com/forbole/juno/v6