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 Linux using D-Bus
func NewAdapter ¶
func NewAdapter(themeProvider ThemeProvider) *Adapter
NewAdapter creates a new Linux notification adapter using D-Bus
func (*Adapter) NotifyMessage ¶
NotifyMessage sends a simple text notification via D-Bus
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 Linux adapter
type ThemeProvider ¶
type ThemeProvider interface {
GetSystemTheme() string
}
ThemeProvider provides the current system theme
Click to show internal directories.
Click to hide internal directories.