event

package
v0.37.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler func(*proto.SystemEvent)

type Manager

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

func NewManager

func NewManager(app fyne.App, addr string) *Manager

func (*Manager) AddHandler

func (e *Manager) AddHandler(handler Handler)

func (*Manager) SetNotificationsEnabled

func (e *Manager) SetNotificationsEnabled(enabled bool)

func (*Manager) Start

func (e *Manager) Start(ctx context.Context)

func (*Manager) Stop

func (e *Manager) Stop()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳