Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultConfigDirName = ".hubl" GlobalKeyringDirName = "global" )
Variables ¶
View Source
var EmptyConfig = &Config{ Chains: map[string]*ChainConfig{}, KeyringBackend: flags.DefaultKeyringBackend, }
Functions ¶
func GetConfigDir ¶
Types ¶
type ChainConfig ¶
type ChainConfig struct { GRPCEndpoints []GRPCEndpoint `toml:"trusted-grpc-endpoints"` AddressPrefix string `toml:"address-prefix"` KeyringBackend string `toml:"keyring-backend"` }
type Config ¶
type Config struct { Chains map[string]*ChainConfig `toml:"chains"` KeyringBackend string `toml:"keyring-backend"` }
type GRPCEndpoint ¶
Click to show internal directories.
Click to hide internal directories.