Documentation ¶
Index ¶
- Constants
- func GetCmdAddReason() *cobra.Command
- func GetCmdCreateReport() *cobra.Command
- func GetCmdDeleteReport() *cobra.Command
- func GetCmdQueryParams() *cobra.Command
- func GetCmdQueryReason() *cobra.Command
- func GetCmdQueryReasons() *cobra.Command
- func GetCmdQueryReport() *cobra.Command
- func GetCmdQueryReports() *cobra.Command
- func GetCmdRemoveReason() *cobra.Command
- func GetCmdSupportStandardReason() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func NewReasonsTxCmd() *cobra.Command
- func NewTxCmd() *cobra.Command
- func ReadReportTarget(flagSet *pflag.FlagSet) (types.ReportTarget, error)
Constants ¶
const ( FlagUser = "user" FlagPostID = "post-id" FlagReporter = "reporter" FlagMessage = "message" )
Variables ¶
This section is empty.
Functions ¶
func GetCmdAddReason ¶
GetCmdAddReason returns the command allowing to add a new reporting reason
func GetCmdCreateReport ¶
GetCmdCreateReport returns the command allowing to create a report
func GetCmdDeleteReport ¶
GetCmdDeleteReport returns the command allowing to delete a report
func GetCmdQueryParams ¶
GetCmdQueryParams returns the command to query the params of the module
func GetCmdQueryReason ¶
GetCmdQueryReason returns the command to query a reason of a subspace
func GetCmdQueryReasons ¶
GetCmdQueryReasons returns the command to query the reasons of a subspace
func GetCmdQueryReport ¶
GetCmdQueryReport returns the command to query a report of a subspace
func GetCmdQueryReports ¶
GetCmdQueryReports returns the command to query the reports of a subspace
func GetCmdRemoveReason ¶
GetCmdRemoveReason returns the command allowing to remove a reporting reason
func GetCmdSupportStandardReason ¶
GetCmdSupportStandardReason returns the command allowing to support a standard reason
func GetQueryCmd ¶
GetQueryCmd returns the command allowing to perform queries
func NewReasonsTxCmd ¶
NewReasonsTxCmd returns a new command to perform reasons transactions
func ReadReportTarget ¶
func ReadReportTarget(flagSet *pflag.FlagSet) (types.ReportTarget, error)
ReadReportTarget reads the given flags and returns the report target
Types ¶
This section is empty.