File: sender.go

package info (click to toggle)
golang-github-nicholas-fedor-shoutrrr 0.8.18-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 4,328 kB
  • sloc: sh: 61; makefile: 5
file content (9 lines) | stat: -rw-r--r-- 234 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
package types

// Sender is the interface needed to implement to send notifications.
type Sender interface {
	Send(message string, params *Params) error

	// Rich sender API:
	// SendItems(items []MessageItem, params *Params) error
}