pushbullet

package
v0.0.0-...-b2d74e5 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const GROUP_NAME = "global"
View Source
const MODULE_NAME = "pushbullet"
View Source
const TYPE_NAME = "notifier"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	APIKey       string
	PhoneNumber  string
	MessageTitle string
	MessageBody  string
}

func (*Config) NotifyPushbulletChannel

func (c *Config) NotifyPushbulletChannel() error

type GlobalNotifierPushbullet

type GlobalNotifierPushbullet struct {
	core.Module
	// contains filtered or unexported fields
}

func (*GlobalNotifierPushbullet) Close

func (m *GlobalNotifierPushbullet) Close() error

func (*GlobalNotifierPushbullet) GetConfig

func (m *GlobalNotifierPushbullet) GetConfig() interface{}

func (*GlobalNotifierPushbullet) GetGroup

func (*GlobalNotifierPushbullet) GetName

func (m *GlobalNotifierPushbullet) GetName() string

func (*GlobalNotifierPushbullet) GetType

func (*GlobalNotifierPushbullet) InitModule

func (m *GlobalNotifierPushbullet) InitModule(_cfg interface{}) error

func (*GlobalNotifierPushbullet) InitPipe

func (m *GlobalNotifierPushbullet) InitPipe(w io.Writer, r io.Reader) error

func (*GlobalNotifierPushbullet) Run

type Message

type Message struct {
	Text string `json:"text"`
}

Jump to

Keyboard shortcuts

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