menus

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const Version = "1.0.3"

Variables

View Source
var (
	Menus = map[string]Menu{
		"Home":          {"Home", HomeView},
		"Conversations": {"Conversations", ServerView},
		"Encrypt":       {"Encrypt", EncryptView},
		"Decrypt":       {"Decrypt", DecryptView},
	}

	MenuOrder = []string{"Home", "Conversations", "Encrypt", "Decrypt"}
)
View Source
var SingleMessageKeyType string
View Source
var SingleMessagePGPPrivateKey *crypto.Key
View Source
var SingleMessagePrivateKeyPath string
View Source
var SingleMessagePublicKey string
View Source
var SingleMessageRSAPrivateKey *rsa.PrivateKey

Functions

func DecryptView

func DecryptView(w fyne.Window) fyne.CanvasObject

func EncryptView

func EncryptView(w fyne.Window) fyne.CanvasObject

func HomeView

func HomeView(w fyne.Window) fyne.CanvasObject

func ServerView

func ServerView(w fyne.Window) fyne.CanvasObject

Types

type Menu struct {
	Title string
	View  func(w fyne.Window) fyne.CanvasObject
}

Jump to

Keyboard shortcuts

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