Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chain ¶
type Chain struct { Key string `yaml:"key" json:"key"` ChainID string `yaml:"chain-id" json:"chain-id"` RPCAddr string `yaml:"rpc-addr" json:"rpc-addr"` AccountPrefix string `yaml:"account-prefix" json:"account-prefix"` Gas uint64 `yaml:"gas,omitempty" json:"gas,omitempty"` GasAdjustment float64 `yaml:"gas-adjustment,omitempty" json:"gas-adjustment,omitempty"` GasPrices string `yaml:"gas-prices,omitempty" json:"gas-prices,omitempty"` DefaultDenom string `yaml:"default-denom,omitempty" json:"default-denom,omitempty"` Memo string `yaml:"memo,omitempty" json:"memo,omitempty"` TrustingPeriod string `yaml:"trusting-period" json:"trusting-period"` }
type Config ¶
type Config struct { Global GlobalConfig `yaml:"global" json:"global"` Chains Chains `yaml:"chains" json:"chains"` Paths Paths `yaml:"paths" json:"paths"` }
type GlobalConfig ¶
type Path ¶
type Path struct { Src *PathEnd `yaml:"src" json:"src"` Dst *PathEnd `yaml:"dst" json:"dst"` Strategy *StrategyCfg `yaml:"strategy" json:"strategy"` }
type PathEnd ¶
type PathEnd struct { ChainID string `yaml:"chain-id,omitempty" json:"chain-id,omitempty"` PortID string `yaml:"port-id,omitempty" json:"port-id,omitempty"` Order string `yaml:"order,omitempty" json:"order,omitempty"` Version string `yaml:"version,omitempty" json:"version,omitempty"` }
func NewPathEnd ¶
type StrategyCfg ¶
type StrategyCfg struct {
Type string `json:"type" yaml:"type"`
}
Click to show internal directories.
Click to hide internal directories.