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.Commanddeprecated
- func CmdMakeRootV2() *cobra.Command
- func CmdPostFile() *cobra.Command
- func CmdPostFilePublic() *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
deprecated
func CmdMakeRootV2 ¶
func CmdPostFile ¶
func CmdPostFilePublic ¶ added in v3.1.0
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 ¶
- query.go
- query_files.go
- query_get_keys.go
- query_params.go
- query_pubkey.go
- tx.go
- tx_add_editors.go
- tx_add_viewers.go
- tx_change_owner.go
- tx_delete_file.go
- tx_make_root.go
- tx_post_file.go
- tx_post_file_public.go
- tx_postkey.go
- tx_remove_editors.go
- tx_remove_viewers.go
- tx_reset_editors.go
- tx_reset_viewers.go
- utils.go
Click to show internal directories.
Click to hide internal directories.