backend

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "1.1.0"
	Name    = "Safelock"
)

Variables

View Source
var (
	MessageDialog       = runtime.MessageDialog
	SaveFileDialog      = runtime.SaveFileDialog
	OpenDirectoryDialog = runtime.OpenDirectoryDialog
	EventsEmit          = runtime.EventsEmit
	WindowSetTitle      = runtime.WindowSetTitle
)

Functions

func NewDesktopEntry

func NewDesktopEntry(icon []byte) *desktopEntry.DesktopEntry

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func NewApp

func NewApp(icon []byte, assets embed.FS) (*App, *options.App)

func (App) Cancel

func (a App) Cancel()

func (*App) Decrypt

func (a *App) Decrypt(path string, password string) (id string, err error)

func (*App) Encrypt

func (a *App) Encrypt(paths []string, password string) (id string, err error)

func (App) GetVersion

func (a App) GetVersion() string

func (App) ShowErrMsg

func (a App) ShowErrMsg(msg string)

func (App) ShowInfoMsg

func (a App) ShowInfoMsg(msg string)

type Task

type Task struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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