Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
Adapter implements the NotificationPort interface for macOS using the system-installed terminal-notifier binary (brew install terminal-notifier).
func NewAdapter ¶
func NewAdapter(themeProvider ThemeProvider, sender string) (*Adapter, error)
NewAdapter creates a new macOS notification adapter. Returns an error if terminal-notifier is not found in PATH.
func (*Adapter) NotifyMessage ¶
NotifyMessage sends a simple text notification via macOS native notifications
func (*Adapter) NotifyPullRequests ¶
func (a *Adapter) NotifyPullRequests(notifications []*port.PRNotificationData) error
NotifyPullRequests sends grouped notifications for pull requests
func (*Adapter) SupportsClickActions ¶
SupportsClickActions returns true for macOS adapter
type ThemeProvider ¶
type ThemeProvider interface {
GetSystemTheme() string
}
ThemeProvider provides the current system theme
Click to show internal directories.
Click to hide internal directories.