client

package
v0.0.0-...-724b7ff Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BrowseButton

func BrowseButton(w fyne.Window, inputLabel *widget.Label, log *ipfsLog.ZapEventLogger) *widget.Button

func CreateAESWidgets

func CreateAESWidgets(w fyne.Window, aesInput *widget.Label, log *ipfsLog.ZapEventLogger, aesKey *aes.Key) (fyne.CanvasObject, *widget.Button, *widget.Button)

func CreateECDSAWidgets

func CreateECDSAWidgets(w fyne.Window, ecdsaInput *widget.Label, log *ipfsLog.ZapEventLogger, ecdsaKeyPair *ecdsa.KeyPair) (fyne.CanvasObject, *widget.Button, *widget.Button)

func CreateFileSelectionWidgets

func CreateFileSelectionWidgets(w fyne.Window, selectedFileLabel *widget.Label, log *ipfsLog.ZapEventLogger) (fyne.CanvasObject, *widget.Button)

func GenerateAESKeyButton

func GenerateAESKeyButton(aesInputLabel *widget.Label, log *ipfsLog.ZapEventLogger) *widget.Button

func GenerateECDSAKeyPairButton

func GenerateECDSAKeyPairButton(ecdsaInputLabel *widget.Label, log *ipfsLog.ZapEventLogger) *widget.Button

func LoadAESButton

func LoadAESButton(aesKey *aes.Key, aesInputLabel *widget.Label, log *ipfsLog.ZapEventLogger) *widget.Button

func LoadECDSAButton

func LoadECDSAButton(ecdsaKeyPair *ecdsa.KeyPair, ecdsaInputLabel *widget.Label, log *ipfsLog.ZapEventLogger) *widget.Button

func SelectFileButton

func SelectFileButton(w fyne.Window, selectedFileInputLabel *widget.Label, log *ipfsLog.ZapEventLogger) *widget.Button

func SendFile

func SendFile(ctx context.Context, cfg *config.Config, selectedFile string,
	ecdsaKeyPair *ecdsa.KeyPair, aesKey *aes.Key, ipfsAPI iface.CoreAPI,
	clientAnnouncementChan chan *transaction.ClientAnnouncement,
	log *ipfsLog.ZapEventLogger) error

func SendFileButton

func SendFileButton(ctx context.Context, cfg *config.Config, selectedFile *widget.Label,
	ecdsaKeyPair *ecdsa.KeyPair, aesKey *aes.Key, ipfsAPI iface.CoreAPI,
	clientAnnouncementChan chan *transaction.ClientAnnouncement,
	log *ipfsLog.ZapEventLogger) *widget.Button

Types

This section is empty.

Jump to

Keyboard shortcuts

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