Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultHome = filepath.Join(os.Getenv("HOME"), ".relayer")
CONTRACT: this has to be consistent in the official relayer so that all commands inherited from the official relayer can find the config file
Functions ¶
func GetCfgPath ¶ added in v0.3.0
func LoadConfig ¶
LoadConfig loads the config file in the given path to a config struct (adapted from https://github.com/cosmos/relayer/blob/v2.1.2/cmd/config.go#L544)
func NewRootLogger ¶
NewRootLogger returns a new Zap logger (adapted from https://github.com/cosmos/relayer/blob/v2.1.2/cmd/root.go#L177)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.