package camera // 摄象机和一键报警(带摄象机功能)的配置 type CameraDev struct { Code string `json:"code"` IP string `json:"ip"` Name string `json:"name"` Brand string `json:"brand"` Model string `json:"model"` User string `json:"user"` Password string `json:"password"` } type DeviceConfig struct { CameraDevs []CameraDev `yaml:"cameraDevs"` }