Documentation
¶
Overview ¶
Package notifications
Index ¶
Constants ¶
View Source
const ( Notify = "notify" ShouldNotify = "should-notify" )
View Source
const ( PreRun Phase = iota PostRun StartingTitle = "Starting Speedtest" SuccessTitle = "Finished Speedtest" ErrorTitle = "Failed Speedtest" )
View Source
const (
Actor = "notifications"
)
Variables ¶
This section is empty.
Functions ¶
func RegisterActors ¶ added in v2.7.1
func RegisterActors(opts NotifierOpts) error
Types ¶
type NotificationError ¶
func (NotificationError) Error ¶
func (ne NotificationError) Error() string
func (NotificationError) Nil ¶ added in v2.7.1
func (n NotificationError) Nil() bool
type NotifierOpts ¶ added in v2.6.0
type NotifierOpts struct {
Host *local.Host
UIURL string
Notifications config.Notifications
Telegram telegramMessageSender
}
type NotifyInput ¶ added in v2.7.1
Click to show internal directories.
Click to hide internal directories.