pushover

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	AppToken string
	User     string
}

Client is the Pushover client

func (*Client) Send

func (c *Client) Send(msg *Message) error

Send sends a message to the queue

type Message

type Message struct {
	User     string
	Msg      string
	Device   string
	Title    string
	URL      string
	Priority int
}

Message is the request body for Pushover Not all fields have been implemented Please refer to https://pushover.net/api

Jump to

Keyboard shortcuts

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