pushover

package
v0.0.0-...-3744b1b Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// API is the Pushover API endpoint.
	API = "https://api.pushover.net/1/messages.json"
)

Variables

This section is empty.

Functions

func Notify

func Notify(p Params) error

Notify sends a push request to the Pushover API.

Types

type Params

type Params struct {
	Token   string
	User    string
	Title   string
	Message string
}

Jump to

Keyboard shortcuts

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