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"` }