Discover Packages
github.com/docker/docker-agent
pkg
sound
package
Version:
v1.32.0
Opens a new window with list of versions in this module.
Published: Mar 12, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package sound provides cross-platform sound notification support.
It plays system sounds asynchronously to notify users of task completion or failure.
Play plays a notification sound for the given event in the background.
It is non-blocking and safe to call from any goroutine.
If the sound cannot be played, the error is logged and silently ignored.
Event represents the type of sound to play.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.