package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Aug 23, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type App struct {
MetricAddr string `mapstructure:"metric_addr"`
Env string `mapstructure:"env"`
LogLevel string `mapstructure:"log_level"`
ChannelTypes []string `mapstructure:"channel_types"`
}
type Cache struct {
Filename string `mapstructure:"filename"`
StartHeight uint64 `mapstructure:"start_height"`
}
type Chain struct {
Source ChainCfg `mapstructure:"source"`
Dest ChainCfg `mapstructure:"dest"`
}
type ChainCfg struct {
Cache Cache `mapstructure:"cache"`
Tendermint Tendermint `mapstructure:"tendermint"`
}
type ChainKey struct {
Name string `mapstructure:"name"`
Password string `mapstructure:"password"`
PrivKeyArmor string `mapstructure:"priv_key_armor"`
}
type Config struct {
App App `mapstructure:"app"`
Chain Chain `mapstructure:"chain"`
}
type Fee struct {
Denom string `mapstructure:"denom"`
Amount int64 `mapstructure:"amount"`
}
type Tendermint struct {
ChainName string `mapstructure:"chain_name"`
ChainID string `mapstructure:"chain_id"`
RPCAddr string `mapstructure:"rpc_addr"`
GrpcAddr string `mapstructure:"grpc_addr"`
Gas uint64 `mapstructure:"gas"`
Key ChainKey `mapstructure:"key"`
Fee Fee `mapstructure:"fee"`
UpdateClientFrequency uint64 `mapstructure:"update_client_frequency"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.