Documentation ¶ Index ¶ func Start(ctx context.Context, eventCB func(), errorCB func(msg string)) error 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. Source Files ¶ View all Source files devicenotification.go Click to show internal directories. Click to hide internal directories.