Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrChainCannotBeFound = errors.New("chain cannot be found")
View Source
var ErrPathCannotBeFound = errors.New("path cannot be found")
Functions ¶
Types ¶
type Chain ¶
type Chain struct { ID string `json:"id" yaml:"id"` Account string `json:"account" yaml:"account"` AddressPrefix string `json:"address_prefix" yaml:"address_prefix"` RPCAddress string `json:"rpc_address" yaml:"rpc_address"` GasPrice string `json:"gas_price" yaml:"gas_price,omitempty"` GasLimit int64 `json:"gas_limit" yaml:"gas_limit,omitempty"` ClientID string `json:"client_id" yaml:"client_id,omitempty"` }
type Config ¶
type Config struct { Version string `json:"version" yaml:"version"` Chains []Chain `json:"chains" yaml:"chains,omitempty"` Paths []Path `json:"paths" yaml:"paths,omitempty"` }
func (Config) UpdatePath ¶
type PathEnd ¶
type PathEnd struct { ChainID string `json:"chain_id" yaml:"chain_id"` ConnectionID string `json:"connection_id" yaml:"connection_id,omitempty"` ChannelID string `json:"channel_id" yaml:"channel_id,omitempty"` PortID string `json:"port_id" yaml:"port_id"` Version string `json:"version" yaml:"version,omitempty"` PacketHeight int64 `json:"packet_height" yaml:"packet_height,omitempty"` AckHeight int64 `json:"ack_height" yaml:"ack_height,omitempty"` }
Click to show internal directories.
Click to hide internal directories.