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
func NewAdapter ¶
func NewAdapter(themeProvider ThemeProvider) *Adapter
NewAdapter creates a new notification adapter
func (*Adapter) NotifyMessage ¶
NotifyMessage sends a simple text notification
func (*Adapter) NotifyPullRequests ¶
func (a *Adapter) NotifyPullRequests(notifications []*port.PRNotificationData) error
NotifyPullRequests sends grouped notifications for pull requests
func (*Adapter) SupportsClickActions ¶
SupportsClickActions returns false for the generic desktop adapter
type ThemeProvider ¶
type ThemeProvider interface {
GetSystemTheme() string
}
ThemeProvider provides the current system theme
Click to show internal directories.
Click to hide internal directories.