Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Conf ¶
type Conf struct { MqttBroker string `yaml:"mqttBroker"` MqttUsername string `yaml:"mqttUsername"` MqttPassword string `yaml:"mqttPassword"` MailgunDomain string `yaml:"mailgunDomain"` MailgunAPIKey string `yaml:"mailgunAPIKey"` FrigateURL string `yaml:"frigateURL"` EmailFrom string `yaml:"emailFrom"` EmailSubject string `yaml:"emailSubject"` EmailBody string `yaml:"emailBody"` EmailTo string `yaml:"emailTo"` }
type CurrentAttributeData ¶
type State ¶
type State struct { ID string `json:"id"` Camera string `json:"camera"` FrameTime float64 `json:"frame_time"` SnapshotTime float64 `json:"snapshot_time"` Label string `json:"label"` SubLabel []interface{} `json:"sub_label"` TopScore float64 `json:"top_score"` FalsePositive bool `json:"false_positive"` StartTime float64 `json:"start_time"` EndTime interface{} `json:"end_time"` Score float64 `json:"score"` Box []int `json:"box"` Area int `json:"area"` Ratio float64 `json:"ratio"` Region []int `json:"region"` CurrentZones []string `json:"current_zones"` EnteredZones []string `json:"entered_zones"` Thumbnail interface{} `json:"thumbnail"` HasSnapshot bool `json:"has_snapshot"` HasClip bool `json:"has_clip"` Stationary bool `json:"stationary"` MotionlessCount int `json:"motionless_count"` PositionChanges int `json:"position_changes"` Attributes map[string]float64 `json:"attributes"` CurrentAttributes []CurrentAttributeData `json:"current_attributes"` }
Click to show internal directories.
Click to hide internal directories.