tray

package
v0.0.0-...-aa2490a Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: GPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NotifierStartDelay        = 3 * time.Second
	PollingUpdateInterval     = 5 * time.Second
	PollingFullUpdateInterval = 60 * time.Second
	AccountInfoUpdateInterval = 24 * time.Hour
	ConnectedString           = "Connected"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

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

func NewTrayInstance

func NewTrayInstance(client pb.DaemonClient, fileshareClient filesharepb.FileshareClient, quitChan chan<- norduser.StopRequest) *Instance

func (*Instance) OnExit

func (ti *Instance) OnExit()

func (*Instance) OnReady

func (ti *Instance) OnReady()

func (*Instance) Start

func (ti *Instance) Start()

func (*Instance) WaitInitialTrayStatus

func (ti *Instance) WaitInitialTrayStatus() Status

type Status

type Status int
const (
	Invalid Status = iota
	Enabled
	Disabled
)

Jump to

Keyboard shortcuts

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