Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdapter ¶
func NewAdapter(oauthToken string) (port.NotificationPort, error)
NewAdapter creates a new Slack notification adapter The adapter sends direct messages to the authenticated user
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
Adapter implements port.NotificationPort using Slack
func (*Adapter) NotifyMessage ¶
NotifyMessage sends a simple text notification via Slack
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 Slack adapter (links are in message)
Click to show internal directories.
Click to hide internal directories.