Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Slack ¶
type Slack struct {
// contains filtered or unexported fields
}
Slack struct holds necessary data to communicate with the Slack API.
func New ¶
New returns a new instance of a Slack notification service. For more information about slack api token:
-> https://pkg.go.dev/github.com/slack-go/slack#New
func (*Slack) AddReceivers ¶
AddReceivers takes Slack channel IDs and adds them to the internal channel ID list. The Send method will send a given message to all those channels.
Click to show internal directories.
Click to hide internal directories.