13 lines
275 B
Go
Executable file
13 lines
275 B
Go
Executable file
package main
|
|
|
|
import (
|
|
"image"
|
|
"image/color"
|
|
)
|
|
|
|
// Watch defines one or more areas that should be monitored for motion
|
|
type Watch struct {
|
|
Name string `json:"name"`
|
|
Color color.RGBA `json:"color"`
|
|
Areas []image.Rectangle `json:"areas"`
|
|
}
|