webhook

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatFooter added in v1.0.0

func FormatFooter(page *fetcher.Page) string

FormatFooter returns formatted footer for slack

Types

type SlackWebhook

type SlackWebhook struct {
	// contains filtered or unexported fields
}

SlackWebhook represents Slack webhook

func NewSlackWebhook

func NewSlackWebhook(slackOAuthAccessToken string, slackVerificationToken string, fetcherClientParams *fetcher.ClientParams) *SlackWebhook

NewSlackWebhook create new SlackWebhook instance

func (*SlackWebhook) Request

func (s *SlackWebhook) Request(body string, truncateLines int) (string, error)

Request handles Slack event

Jump to

Keyboard shortcuts

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