notification

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2026 License: MIT Imports: 2 Imported by: 0

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

Directories

Path Synopsis
un

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL