ui

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: MPL-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HealthService added in v0.21.0

func HealthService() (net.Listener, error)

HealthService

func HealthServiceCheck added in v0.21.0

func HealthServiceCheck() bool

func MakeApp added in v0.18.0

func MakeApp(w fyne.Window) fyne.CanvasObject

func NewPasswordGenerator added in v0.11.0

func NewPasswordGenerator(key *paw.Key, ps paw.PasswordConfig) *pwgenDialog

func ShowMetadata added in v0.15.0

func ShowMetadata(m *paw.Metadata) fyne.CanvasObject

Types

type FyneItem added in v0.15.0

type FyneItem interface {
	// Icon returns a fyne resource associated to the imte
	Icon() fyne.Resource
	// Show returns a fyne CanvasObject used to view the item
	Show(ctx context.Context, w fyne.Window) fyne.CanvasObject
	// Edit returns a fyne CanvasObject used to edit the item
	Edit(ctx context.Context, key *paw.Key, w fyne.Window) (fyne.CanvasObject, paw.Item)
	// Item returns the paw Item
	Item() paw.Item
}

FyneItem wraps all methods allow to handle an Item as Fyne canvas object

func NewFyneItem added in v0.15.0

func NewFyneItem(item paw.Item, config *paw.Config) FyneItem

type FynePasswordGenerator added in v0.15.0

type FynePasswordGenerator interface {
	ShowPasswordGenerator(bind binding.String, password *paw.Password, w fyne.Window)
}

FynePasswordGenerator wraps all methods to show a Fyne dialog to generate passwords

type Login added in v0.15.0

type Login struct {
	*paw.Login
	Config *paw.Config
}

func (*Login) Edit added in v0.15.0

func (login *Login) Edit(ctx context.Context, key *paw.Key, w fyne.Window) (fyne.CanvasObject, paw.Item)

func (*Login) Icon added in v0.15.0

func (login *Login) Icon() fyne.Resource

func (*Login) Item added in v0.15.0

func (login *Login) Item() paw.Item

func (*Login) Show added in v0.15.0

func (login *Login) Show(ctx context.Context, w fyne.Window) fyne.CanvasObject

type Metadata added in v0.15.0

type Metadata struct {
	*paw.Metadata
}

Item represents the basic paw identity

func (*Metadata) Icon added in v0.15.0

func (m *Metadata) Icon() fyne.Resource

func (*Metadata) Item added in v0.15.0

func (m *Metadata) Item() paw.Item

type Note added in v0.15.0

type Note struct {
	*paw.Note
}

func (*Note) Edit added in v0.15.0

func (n *Note) Edit(ctx context.Context, key *paw.Key, w fyne.Window) (fyne.CanvasObject, paw.Item)

func (*Note) Icon added in v0.15.0

func (n *Note) Icon() fyne.Resource

func (*Note) Item added in v0.15.0

func (n *Note) Item() paw.Item

func (*Note) Show added in v0.15.0

func (n *Note) Show(ctx context.Context, w fyne.Window) fyne.CanvasObject

type PassphrasePasswordOptions added in v0.11.0

type PassphrasePasswordOptions struct {
	DefaultLength int
	MinLength     int
	MaxLength     int
}

type Password added in v0.15.0

type Password struct {
	*paw.Password
	Config *paw.Config
}

func (*Password) Edit added in v0.15.0

func (p *Password) Edit(ctx context.Context, key *paw.Key, w fyne.Window) (fyne.CanvasObject, paw.Item)

func (*Password) Icon added in v0.15.0

func (p *Password) Icon() fyne.Resource

func (*Password) Item added in v0.15.0

func (p *Password) Item() paw.Item

func (*Password) Show added in v0.15.0

func (p *Password) Show(ctx context.Context, w fyne.Window) fyne.CanvasObject

type PinPasswordOptions added in v0.11.0

type PinPasswordOptions struct {
	DefaultLength int
	MinLength     int
	MaxLength     int
}

type RandomPasswordOptions added in v0.11.0

type RandomPasswordOptions struct {
	DefaultFormat paw.Format
	DefaultMode   paw.PasswordMode
	DefaultLength int
	MinLength     int
	MaxLength     int
}

type SSHKey added in v0.17.0

type SSHKey struct {
	*paw.Config
	*paw.SSHKey
}

func (*SSHKey) Edit added in v0.17.0

func (sh *SSHKey) Edit(ctx context.Context, key *paw.Key, w fyne.Window) (fyne.CanvasObject, paw.Item)

func (*SSHKey) Icon added in v0.17.0

func (sh *SSHKey) Icon() fyne.Resource

func (*SSHKey) Item added in v0.17.0

func (sh *SSHKey) Item() paw.Item

func (*SSHKey) Show added in v0.17.0

func (sh *SSHKey) Show(ctx context.Context, w fyne.Window) fyne.CanvasObject

type TOTP added in v0.15.0

type TOTP struct {
	*paw.TOTP
}

func (*TOTP) Edit added in v0.15.0

func (t *TOTP) Edit(ctx context.Context, w fyne.Window) (fyne.CanvasObject, *paw.TOTP)

func (*TOTP) Show added in v0.15.0

func (t *TOTP) Show(ctx context.Context, w fyne.Window) []fyne.CanvasObject

Jump to

Keyboard shortcuts

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