sentry

package
v0.0.0-...-a9a8b8d Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service watches the house for stuff

func New

func New(camera int, sensibility float64, gwait chan struct{}, callback func(sinceLastAlarm float64)) *Service

New create a new Service

func (*Service) Start

func (s *Service) Start(cameraID int, detectionSensibility float64)

Start the Service state

func (*Service) Toggle

func (s *Service) Toggle(ctx context.Context, ttsService *tts.Service, desiredSentryMode bool)

Toggle the Service state to on or off

Jump to

Keyboard shortcuts

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