utils

package
v0.0.0-...-293f6d2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearExpiredShareLinksWalletSignMessage

func ClearExpiredShareLinksWalletSignMessage(walletAddr string, timestamp int64) string

func DeleteFileWalletSignMessage

func DeleteFileWalletSignMessage(fileHash, walletAddr string, timestamp int64) string

func DeleteShareWalletSignMessage

func DeleteShareWalletSignMessage(shareId, walletAddr string, timestamp int64) string

func FindMyFileListWalletSignMessage

func FindMyFileListWalletSignMessage(walletAddr string, timestamp int64) string

func GetDownloadShareFileWalletSignMessage

func GetDownloadShareFileWalletSignMessage(shareId, walletAddr, sn string, timestamp int64) string

func GetFileDownloadWalletSignMessage

func GetFileDownloadWalletSignMessage(fileHash, walletAddr, sn string, timestamp int64) string

GetFileDownloadWalletSignMessage download: wallet sign message for download request from the (rpc or cmd) user

func GetFileReplicaInfoWalletSignMessage

func GetFileReplicaInfoWalletSignMessage(fileHash, walletAddr, sn string, timestamp int64) string

GetFileReplicaInfoWalletSignMessage replica info: wallet sign message for get file replica info request from the (rpc or cmd) user

func GetFileStatusWalletSignMessage

func GetFileStatusWalletSignMessage(fileHash, walletAddr string, timestamp int64) string

func GetFileUploadWalletSignMessage

func GetFileUploadWalletSignMessage(fileHash, walletAddr, sn string, timestamp int64) string

GetFileUploadWalletSignMessage upload: wallet sign message for file upload request from the (rpc or cmd) user

func GetSPListWalletSignMessage

func GetSPListWalletSignMessage(walletAddr string, timestamp int64) string

func GetShareFileWalletSignMessage

func GetShareFileWalletSignMessage(shareId, walletAddr string, timestamp int64) string

func PrepayWalletSignMessage

func PrepayWalletSignMessage(walletAddr string, timestamp int64) string

func RegisterNewPPWalletSignMessage

func RegisterNewPPWalletSignMessage(walletAddr string, timestamp int64) string

func RegisterWalletSignMessage

func RegisterWalletSignMessage(walletAddr string, timestamp int64) string

func ShareFileWalletSignMessage

func ShareFileWalletSignMessage(fileHash, walletAddr string, timestamp int64) string

func ShareLinkWalletSignMessage

func ShareLinkWalletSignMessage(walletAddr string, timestamp int64) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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