webhook

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 2, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscordWebhook

type DiscordWebhook struct {
	URL      string
	Username string
}

func (*DiscordWebhook) Send

func (d *DiscordWebhook) Send(message string) error

type MattermostWebhook

type MattermostWebhook struct {
	URL      string
	Username string
	IconURL  string
}

func (*MattermostWebhook) Send

func (m *MattermostWebhook) Send(message string) error

type SlackWebhook

type SlackWebhook struct {
	URL string
}

func (*SlackWebhook) Send

func (s *SlackWebhook) Send(message string) error

type Webhook

type Webhook interface {
	Send(message string) error
}

Jump to

Keyboard shortcuts

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