Documentation
¶
Overview ¶
Package system provides desktop system notification provider using beeep
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSupported ¶
func IsSupported() bool
IsSupported checks if system notifications are supported on the current platform beeep supports: Windows, macOS, Linux, BSD, Unix
Types ¶
type Config ¶
type Config struct {
// AppName is the name of the application (default: "notify")
AppName string `json:"app_name,omitempty"`
// Sound to play (path to sound file, empty for default)
Sound string `json:"sound,omitempty"`
// Icon is the path to icon file
Icon string `json:"icon,omitempty"`
}
Config holds system notification configuration
Click to show internal directories.
Click to hide internal directories.