ui

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Status

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

holds data channels for updates and a window handle is used to free memory after closing window

func NewStatus

func NewStatus() *Status

func (*Status) Run

func (s *Status) Run(quickConnect bool)

type StatusWindow

type StatusWindow interface {
	Open(quickConnect bool, service *service.VPNService, onReady func())
	Close()
	ApplyIdentityStatus(status *status.Status)
	ApplyVPNStatus(status *vpnstatus.Status)
	NotifyError(err error)
}

minimal interface to interact with an ui implementation

Directories

Path Synopsis
cmp

Jump to

Keyboard shortcuts

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