Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCompositeAdapter ¶
func NewCompositeAdapter(adapters ...port.NotificationPort) port.NotificationPort
NewCompositeAdapter creates a new composite adapter
Types ¶
type CompositeAdapter ¶
type CompositeAdapter struct {
// contains filtered or unexported fields
}
CompositeAdapter implements port.NotificationPort by delegating to multiple adapters
func (*CompositeAdapter) NotifyMessage ¶
func (c *CompositeAdapter) NotifyMessage(title, message string) error
NotifyMessage sends a simple text notification to all configured adapters
func (*CompositeAdapter) NotifyPullRequests ¶
func (c *CompositeAdapter) NotifyPullRequests(notifications []*port.PRNotificationData) error
NotifyPullRequests sends grouped notifications to all configured adapters
func (*CompositeAdapter) SupportsClickActions ¶
func (c *CompositeAdapter) SupportsClickActions() bool
SupportsClickActions returns true if any adapter supports click actions
Click to show internal directories.
Click to hide internal directories.