pushover

package
v0.0.0-...-c65dae7 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2017 License: MIT Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrPushoverDisabled = errors.New("Pushover is disabled")
)

Functions

func Configure

func Configure(p PushoverInfo)

Configure adds the settings

func New

func New() (*pushover.Pushover, error)

New returns a new instance of Pushover

Types

type PushoverInfo

type PushoverInfo struct {
	Enabled bool
	Token   string
	UserKey string
}

PushoverInfo has the details for Pushover

func ReadConfig

func ReadConfig() PushoverInfo

ReadConfig returns the settings

Jump to

Keyboard shortcuts

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