Documentation ¶
Index ¶
Constants ¶
View Source
const ( TelegramNotifyMethod = "telegram" TestMockMethod = "mock" )
Variables ¶
This section is empty.
Functions ¶
func MotionDetectedStart ¶
func MotionDetectedStart()
func MotionDetectedStop ¶
func MotionDetectedStop()
func PhotoSaved ¶
func PhotoSaved(filepath string)
Types ¶
type MockNotifyService ¶
type MockNotifyService struct { }
func (*MockNotifyService) Authenticate ¶
func (b *MockNotifyService) Authenticate() error
func (*MockNotifyService) Notify ¶
func (b *MockNotifyService) Notify(message, file string) error
func (*MockNotifyService) Stop ¶
func (b *MockNotifyService) Stop() error
type NotifyService ¶
type TelegramNotifyService ¶
type TelegramNotifyService struct {
// contains filtered or unexported fields
}
func (*TelegramNotifyService) Authenticate ¶
func (n *TelegramNotifyService) Authenticate() error
func (*TelegramNotifyService) Notify ¶
func (n *TelegramNotifyService) Notify(message, filename string) error
func (*TelegramNotifyService) Stop ¶
func (n *TelegramNotifyService) Stop() error
Click to show internal directories.
Click to hide internal directories.