Documentation ¶
Index ¶
- func InitCmd(config *config.Config, configDir string) *cobra.Command
- func KeyringCmd(chainName string) *cobra.Command
- func RemoteCommand(config *config.Config, configDir string) ([]*cobra.Command, error)
- func RemoteErrorCommand(cfg *config.Config, configDir, chain string, chainConfig *config.ChainConfig, ...) *cobra.Command
- func RootCommand() (*cobra.Command, error)
- func SelectGRPCEndpoints(chain string) (string, error)
- func VersionCmd() *cobra.Command
- type APIEntry
- type ChainInfo
- type ChainRegistryEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KeyringCmd ¶
func RemoteCommand ¶
func RemoteErrorCommand ¶
func RootCommand ¶
func SelectGRPCEndpoints ¶
func VersionCmd ¶
Types ¶
type ChainInfo ¶
type ChainInfo struct { Context context.Context ConfigDir string Chain string Config *config.ChainConfig ProtoFiles *protoregistry.Files ModuleOptions map[string]*autocliv1.ModuleOptions // contains filtered or unexported fields }
func NewChainInfo ¶
func NewChainInfo(configDir, chain string, config *config.ChainConfig) *ChainInfo
func (*ChainInfo) OpenClient ¶
func (c *ChainInfo) OpenClient() (*grpc.ClientConn, error)
type ChainRegistryEntry ¶
type ChainRegistryEntry struct { APIs struct { GRPC []*APIEntry `json:"grpc"` } `json:"apis"` }
func GetChainRegistryEntry ¶
func GetChainRegistryEntry(chain string) (*ChainRegistryEntry, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.