slack

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: 8 Imported by: 0

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

func (a *Adapter) NotifyMessage(title, message string) error

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

func (a *Adapter) SupportsClickActions() bool

SupportsClickActions returns false for Slack adapter (links are in message)

Jump to

Keyboard shortcuts

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