Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Type string `json:"type"` Params params `json:"params" default:"{}"` }
type ConsoleNotifier ¶
type ConsoleNotifier struct { }
func (*ConsoleNotifier) Send ¶
func (l *ConsoleNotifier) Send(message Message) error
type Message ¶
type Message struct { Type MessageType Title string Message string }
func MakeAggregatedMessage ¶
func MakeMessage ¶
func MakeMessage(type_ MessageType, descriptionFormat string, args ...any) Message
type MessageType ¶
type MessageType uint
const ( Undefined MessageType = iota Notification Failure Recovery Aggregate )
func (MessageType) String ¶
func (i MessageType) String() string
type Notifier ¶
func LoadNotifierFromConfig ¶
func NewConsoleNotifier ¶
func NewConsoleNotifier() Notifier
func NewShoutrrr ¶
Click to show internal directories.
Click to hide internal directories.