pushover

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Emergency

func Emergency(messageTitle string, messageBody string)

The function "Emergency" sends an emergency message with a specified title and body using the Pushover service.

func High

func High(messageTitle string, messageBody string)

The High function sends a high priority message with a title and body to a recipient using the Pushover service.

func Low

func Low(messageTitle string, messageBody string)

The Low function sends a low priority push notification with a given title and body.

func Normal

func Normal(messageTitle string, messageBody string)

The Normal function sends a push notification with a normal priority level.

func Run

func Run(t *term.ViewPort)

func RunOld

func RunOld(t term.ViewPort, debug bool, messageType, messageTitle, messageBody string)

func WithURL

func WithURL(messageTitle string, messageBody string, url string)

The function "WithURL" sends a push notification with a message title, message body, and a URL to a recipient using the Pushover service.

Types

type MessageTypes

type MessageTypes struct {
	Up        string
	Heartbeat string
	Other     string
	Message   string
}

Jump to

Keyboard shortcuts

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