devicenotification

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: GPL-2.0, LGPL-2.1 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, eventCB func(), errorCB func(msg string)) error

Start the device add/remove notification process, at every event a call to eventCB will be performed. This function will block until interrupted by the given context. Errors will be passed to errorCB. Returns error if sync process can't be started.

Types

This section is empty.

Jump to

Keyboard shortcuts

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