ui

package
v0.0.0-...-3165603 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HomeUI

type HomeUI struct {
	Window fyne.Window
	Vault  *vault.VaultFunctions
}

func NewHomeUI

func NewHomeUI(window fyne.Window) *HomeUI

func (*HomeUI) AuthorizeVault

func (hui *HomeUI) AuthorizeVault(vault string, callback func(pwd string), window fyne.Window)

func (*HomeUI) CreateVault

func (hui *HomeUI) CreateVault()

func (*HomeUI) Home

func (hui *HomeUI) Home() fyne.CanvasObject

func (*HomeUI) ViewVault

func (hui *HomeUI) ViewVault(vault string)

type LogStatus

type LogStatus = string
const (
	LogSuccess LogStatus = "success"
	LogError   LogStatus = "error"
)

type ServerUI

type ServerUI struct {
	Window    fyne.Window
	Functions *server.ServerFunctions
}

func NewServerUI

func NewServerUI(window fyne.Window) *ServerUI

func (*ServerUI) ChooseHostDir

func (sui *ServerUI) ChooseHostDir()

func (*ServerUI) ReceiveFile

func (sui *ServerUI) ReceiveFile()

func (*ServerUI) ServerSettings

func (sui *ServerUI) ServerSettings()

func (*ServerUI) ShareFile

func (sui *ServerUI) ShareFile()

Jump to

Keyboard shortcuts

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