Documentation ¶
Index ¶
- func AskFilesList(cfg *config.Config, ecdsaKeyPair ecdsa.KeyPair, askFilesListChan chan []byte, ...) error
- func AskFilesListButton(w fyne.Window, cfg *config.Config, ecdsaKeyPair *ecdsa.KeyPair, ...) *widget.Button
- func BrowseButton(w fyne.Window, inputLabel *widget.Label, log *ipfsLog.ZapEventLogger) *widget.Button
- func CreateAESWidgets(w fyne.Window, aesInput *widget.Label, log *ipfsLog.ZapEventLogger, ...) (fyne.CanvasObject, *widget.Button, *widget.Button)
- func CreateECDSAWidgets(w fyne.Window, ecdsaInput *widget.Label, log *ipfsLog.ZapEventLogger, ...) (fyne.CanvasObject, *widget.Button, *widget.Button)
- func CreateFileSelectionWidgets(w fyne.Window, selectedFileLabel *widget.Label, log *ipfsLog.ZapEventLogger) (fyne.CanvasObject, *widget.Button)
- func DownloadButtonWidget(log *ipfsLog.ZapEventLogger, ctx context.Context, config *config.Config, ...) *widget.Button
- func DownloadFile(log *ipfsLog.ZapEventLogger, ctx context.Context, config *config.Config, ...) error
- func GenerateAESKeyButton(w fyne.Window, aesInputLabel *widget.Label, log *ipfsLog.ZapEventLogger) *widget.Button
- func GenerateECDSAKeyPairButton(w fyne.Window, ecdsaInputLabel *widget.Label, log *ipfsLog.ZapEventLogger) *widget.Button
- func LoadAESButton(w fyne.Window, aesKey *aes.Key, aesInputLabel *widget.Label, ...) *widget.Button
- func LoadECDSAButton(w fyne.Window, ecdsaKeyPair *ecdsa.KeyPair, ecdsaInputLabel *widget.Label, ...) *widget.Button
- func SelectFileButton(w fyne.Window, selectedFileInputLabel *widget.Label, ...) *widget.Button
- func SendFile(ctx context.Context, cfg *config.Config, selectedFile string, ...) error
- func SendFileButton(ctx context.Context, cfg *config.Config, w fyne.Window, ...) *widget.Button
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskFilesList ¶
func AskFilesListButton ¶
func BrowseButton ¶
func CreateAESWidgets ¶
func CreateECDSAWidgets ¶
func DownloadButtonWidget ¶
func DownloadFile ¶
func DownloadFile(log *ipfsLog.ZapEventLogger, ctx context.Context, config *config.Config, ipfsAPI icore.CoreAPI, cidFile cid.Cid, filename string, extension string, aesKey aes.Key) error
DownloadFile downloads a file from IPFS using the provided CID and saves it to the download location of the machine.
func GenerateAESKeyButton ¶
func LoadAESButton ¶
func LoadECDSAButton ¶
func SelectFileButton ¶
func SendFileButton ¶
func SendFileButton(ctx context.Context, cfg *config.Config, w fyne.Window, selectedFile *widget.Label, ecdsaKeyPair *ecdsa.KeyPair, aesKey *aes.Key, nodeIpfs *core.IpfsNode, ipfsAPI icore.CoreAPI, clientAnnouncementChan chan *transaction.ClientAnnouncement, log *ipfsLog.ZapEventLogger) *widget.Button
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.