Versions in this module Expand all Collapse all v0 v0.1.0 May 7, 2025 Changes in this version + var ErrTGResponseNotOK = fmt.Errorf("telegram response not ok") + type ComputerShutDowner struct + func (s *ComputerShutDowner) ShutDown() error + type DesktopNotifier struct + IconPath string + func (d DesktopNotifier) Notify(msg string) error + func (d DesktopNotifier) String() string + type Notifier interface + Notify func(msg string) error + String func() string + func NewDesktopNotifier(IconPath string) Notifier + func NewTelegramBotNotifier(client *http.Client, token string, chatID int) (Notifier, error) + type ShutDowner interface + ShutDown func() error + func NewComputerShutDowner(Os string) ShutDowner + type TelegramBotNotifier struct + func (tg *TelegramBotNotifier) Notify(msg string) error + func (tg *TelegramBotNotifier) String() string