notifications

package
v0.1.44 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TriggerDesktop

func TriggerDesktop(title, message string, icon ...string) error

func TriggerTelegram

func TriggerTelegram(botToken string, chatID int64, message string) error

Types

type Notification

type Notification struct {
	// contains filtered or unexported fields
}

func New

func New(title, message string) Notification

func (Notification) GetMessage

func (n Notification) GetMessage() string

func (Notification) GetTitle

func (n Notification) GetTitle() string

Jump to

Keyboard shortcuts

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