Documentation ¶
Index ¶
- Variables
- func CmdAddEditors() *cobra.Command
- func CmdAddViewers() *cobra.Command
- func CmdChangeOwner() *cobra.Command
- func CmdDeleteFile() *cobra.Command
- func CmdGetKeys() *cobra.Command
- func CmdListFiles() *cobra.Command
- func CmdListPubkey() *cobra.Command
- func CmdMakeRoot() *cobra.Command
- func CmdPostFile() *cobra.Command
- func CmdPostkey() *cobra.Command
- func CmdQueryParams() *cobra.Command
- func CmdRemoveEditors() *cobra.Command
- func CmdRemoveViewers() *cobra.Command
- func CmdResetEditors() *cobra.Command
- func CmdResetViewers() *cobra.Command
- func CmdShowFileFromPath() *cobra.Command
- func CmdShowFiles() *cobra.Command
- func CmdShowPubkey() *cobra.Command
- func GetQueryCmd(queryRoute string) *cobra.Command
- func GetTxCmd() *cobra.Command
- func JSONMarshalViewersAndEditors(viewers map[string]string, editors map[string]string) ([]byte, []byte, error)
- func MakeOwnerAddress(merklePath string, user string) string
- func MakePrivateKey(clientCtx client.Context) (*eciesgo.PrivateKey, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CmdAddEditors ¶
func CmdAddViewers ¶
func CmdChangeOwner ¶
func CmdDeleteFile ¶
func CmdGetKeys ¶
func CmdListFiles ¶
func CmdListPubkey ¶
func CmdMakeRoot ¶
func CmdPostFile ¶
func CmdPostkey ¶
func CmdQueryParams ¶
func CmdRemoveEditors ¶
func CmdRemoveViewers ¶
func CmdResetEditors ¶
func CmdResetViewers ¶
func CmdShowFileFromPath ¶
Query using human readable path to show that merklePath() function works as intended Should really be called "CmdShowFileFromPathAndOwner", but I opted to not make the name so long given that this is just a testing function
func CmdShowFiles ¶
Need to input the full hex formatted merkleHash address and the ownerAddress for this to work
func CmdShowPubkey ¶
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
func MakeOwnerAddress ¶
Owner address is whoever owns this file/folder
func MakePrivateKey ¶
func MakePrivateKey(clientCtx client.Context) (*eciesgo.PrivateKey, error)
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.