cli

package
v0.43.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2021 License: Apache-2.0 Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the CLI command with all evidence module query commands mounted.

func GetTxCmd

func GetTxCmd(childCmds []*cobra.Command) *cobra.Command

GetTxCmd returns a CLI command that has all the native evidence module tx commands mounted. In addition, it mounts all childCmds, implemented by outside modules, under a sub-command. This allows external modules to implement custom Evidence types and Handlers while having the ability to create and sign txs containing them all from a single root command.

func QueryEvidenceCmd

func QueryEvidenceCmd() func(*cobra.Command, []string) error

QueryEvidenceCmd returns the command handler for evidence querying. Evidence can be queried for by hash or paginated evidence can be returned.

func SubmitEvidenceCmd

func SubmitEvidenceCmd() *cobra.Command

SubmitEvidenceCmd returns the top-level evidence submission command handler. All concrete evidence submission child command handlers should be registered under this command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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