File: queued_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-- 251 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
package types

// QueuedSender is the interface for a proxied sender that queues messages before sending.
type QueuedSender interface {
	Enqueuef(format string, v ...any)
	Enqueue(message string)
	Flush(params *map[string]string)
	Service() Service
}