Documentation
¶
Index ¶
- Constants
- func GetCmdAddAdmin() *cobra.Command
- func GetCmdBanUser() *cobra.Command
- func GetCmdCreateSubspace() *cobra.Command
- func GetCmdEditSubspace() *cobra.Command
- func GetCmdQuerySubspace() *cobra.Command
- func GetCmdQuerySubspaceAdmins() *cobra.Command
- func GetCmdQuerySubspaceBannedUsers() *cobra.Command
- func GetCmdQuerySubspaceRegisteredUsers() *cobra.Command
- func GetCmdQuerySubspaces() *cobra.Command
- func GetCmdRegisterUser() *cobra.Command
- func GetCmdRemoveAdmin() *cobra.Command
- func GetCmdUnbanUser() *cobra.Command
- func GetCmdUnregisterUser() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func NewTxCmd() *cobra.Command
Constants ¶
const ( FlagSubspaceType = "type" FlagName = "name" FlagOwner = "owner" DoNotEdit = "do-not-edit" )
Variables ¶
This section is empty.
Functions ¶
func GetCmdAddAdmin ¶
GetCmdAddAdmin returns the command to add an admin to a subspace
func GetCmdBanUser ¶
GetCmdBanUser returns the command to ban a user inside a subspace
func GetCmdCreateSubspace ¶
GetCmdCreateSubspace returns the command used to create a subspace
func GetCmdEditSubspace ¶
GetCmdEditSubspace returns the command to edit a subspace
func GetCmdQuerySubspace ¶
GetCmdQuerySubspace returns the command to query the subspace with the given id
func GetCmdQuerySubspaceAdmins ¶
GetCmdQuerySubspaceAdmins returns the command to query the admins of a given subspace
func GetCmdQuerySubspaceBannedUsers ¶
GetCmdQuerySubspaceBannedUsers returns the command to query the banned users of a given subspace
func GetCmdQuerySubspaceRegisteredUsers ¶
GetCmdQuerySubspaceRegisteredUsers returns the command to query the registered users of a given subspace
func GetCmdQuerySubspaces ¶
GetCmdQuerySubspaces returns the command to query all the subspaces
func GetCmdRegisterUser ¶
GetCmdRegisterUser returns the command to register a user inside a subspace
func GetCmdRemoveAdmin ¶
GetCmdRemoveAdmin returns the command to remove an admin from a subspace
func GetCmdUnbanUser ¶
GetCmdUnbanUser returns the command to unban a user from a subspace
func GetCmdUnregisterUser ¶
GetCmdUnregisterUser returns the command to unregister a user from a subspace
func GetQueryCmd ¶
GetQueryCmd returns the command allowing to perform queries
Types ¶
This section is empty.