client

package
v0.0.0-...-8790121 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModuleClient

type ModuleClient struct {
	// contains filtered or unexported fields
}

ModuleClient exports all client functionality from the governance module. The governance ModuleClient is slightly different from other ModuleClients in that it contains a slice of "proposal" child commands. These commands are respective to proposal type handlers that are implemented in other modules but are mounted under the governance CLI (eg. parameter change proposals).

func NewModuleClient

func NewModuleClient(storeKey string, cdc *amino.Codec, pcmds ...*cobra.Command) ModuleClient

func (ModuleClient) GetQueryCmd

func (mc ModuleClient) GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for this module

func (ModuleClient) GetTxCmd

func (mc ModuleClient) GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL