shoutrrr

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

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

Router implements the Sender interface for Shoutrrr

func NewRouter

func NewRouter(url string) (*Router, error)

NewRouter creates a new Router

func (*Router) Send

func (s *Router) Send(title, message string) error

Send a notification

type Sender

type Sender interface {
	Send(title, message string) (err error)
}

Sender interface for underlying notification routers

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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