Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendSlackNotification ¶
func SendSlackNotification(params SlackNotificationParams)
SlackNotification is a rough Go translation of your TypeScript function.
Types ¶
type SlackNotificationParams ¶
type SlackNotificationParams struct {
Title string
Message string
Channel string
WebhookUrl string
}
SlackNotificationParams holds the incoming arguments.
type SlackPayload ¶
SlackPayload is the body structure we send to Slack.
Click to show internal directories.
Click to hide internal directories.