Documentation
¶
Index ¶
- Variables
- func GET(host, res string) ([]byte, error)
- func POST(host, res string, body []byte) ([]byte, error)
- type AIDEventSupport
- type DeviceCap
- type DeviceReboot
- type FactoryReset
- type ITCCap
- type IsSupportVehicleIllegalType
- type Module
- type NetworkCap
- type OpenPlatformCap
- type RS485WorkMode
- type SerialCap
- type SnmpCap
- type SupportQuickConfigType
- type SysCap
- type UserCheck
- type VerificationCodeModification
- type VideoIntercomCap
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Client clientManager ISAPI isApi )
Functions ¶
Types ¶
type AIDEventSupport ¶
type DeviceCap ¶
type DeviceCap struct {
XMLName xml.Name `xml:"DeviceCap"`
Version string `xml:"version,attr"`
Xmlns string `xml:"xmlns,attr"`
IsSupportPreview bool `xml:"isSupportPreview"`
IsSupportSystemMaintain bool `xml:"isSupportSystemMaintain"`
IsSupportReboot bool `xml:"isSupportReboot"`
IsSupportFactoryReset bool `xml:"isSupportFactoryReset"`
IsSupportConfigurationData bool `xml:"isSupportConfigurationData"`
IsSupportUpdatefirmware bool `xml:"isSupportUpdatefirmware"`
IsSupportDeviceInfo bool `xml:"isSupportDeviceInfo"`
IsSupportTime bool `xml:"isSupportTime"`
SysCap SysCap `xml:"SysCap"`
ITCCap ITCCap `xml:"ITCCap"`
IsSupportDumpData bool `xml:"isSupportDumpData"`
AIDEventSupport AIDEventSupport `xml:"AIDEventSupport"`
IsVehicleStatisticsSupport bool `xml:"isVehicleStatisticsSupport"`
IsSupportVehicleFaceRecognition bool `xml:"isSupportVehicleFaceRecognition"`
IsSupportVehicleIllegalType IsSupportVehicleIllegalType `xml:"isSupportVehicleIllegalType"`
IsSupportRadarVideoDetection bool `xml:"isSupportRadarVideoDetection"`
IsSupportRadar bool `xml:"isSupportRadar"`
DeviceReboot DeviceReboot `xml:"deviceReboot"`
FactoryReset FactoryReset `xml:"factoryReset"`
OpenPlatformCap OpenPlatformCap `xml:"OpenPlatformCap"`
IsSupportDrivingDirectionAtIntersection bool `xml:"isSupportDrivingDirectionAtIntersection"`
IsSupportLCDScreen bool `xml:"isSupportLCDScreen"`
SupportQuickConfigType SupportQuickConfigType `xml:"supportQuickConfigType"`
IsSupportRTMP bool `xml:"isSupportRTMP"`
VideoIntercomCap VideoIntercomCap `xml:"VideoIntercomCap"`
IsSupportISUPHttpPassthrough bool `xml:"isSupportISUPHttpPassthrough"`
IsSupportDetectorMotionAlarm bool `xml:"isSupportDetectorMotionAlarm"`
IsSupportOnlineUpgradeTask bool `xml:"isSupportOnlineUpgradeTask"`
IsSupportPowerIndicatorLightCtrlParams bool `xml:"isSupportPowerIndicatorLightCtrlParams"`
IsSupportEmmcInfo bool `xml:"isSupportEmmcInfo"`
}
type DeviceReboot ¶
type DeviceReboot struct {
Module Module `xml:"module"`
}
type FactoryReset ¶
type FactoryReset struct {
Module Module `xml:"module"`
}
type IsSupportVehicleIllegalType ¶
type IsSupportVehicleIllegalType struct {
Opt string `xml:"opt,attr"`
}
type NetworkCap ¶
type NetworkCap struct {
IsSupportGetLinkSocketIP bool `xml:"isSupportGetLinkSocketIP"`
IsSupportWireless bool `xml:"isSupportWireless"`
IsSupportPPPoE bool `xml:"isSupportPPPoE"`
IsSupportBond bool `xml:"isSupportBond"`
IsSupport802_1x bool `xml:"isSupport802_1x"`
IsSupportNtp bool `xml:"isSupportNtp"`
IsSupportFtp bool `xml:"isSupportFtp"`
IsSupportUpnp bool `xml:"isSupportUpnp"`
IsSupportDdns bool `xml:"isSupportDdns"`
IsSupportHttps bool `xml:"isSupportHttps"`
IsSupport28181 bool `xml:"isSupport28181"`
IsSupportWebSocket bool `xml:"isSupportWebSocket"`
IsSupportWebSocketS bool `xml:"isSupportWebSocketS"`
IsSupportEventDataOverWebSocket bool `xml:"isSupportEventDataOverWebSocket"`
IsSupportTSOverWebSocket bool `xml:"isSupportTSOverWebSocket"`
SnmpCap SnmpCap `xml:"SnmpCap"`
IsSupportIPFilter bool `xml:"isSupportIPFilter"`
IsSupportEhome bool `xml:"isSupportEhome"`
IsSupportWirelessDial bool `xml:"isSupportWirelessDial"`
IsSupportWifiProbe bool `xml:"isSupportWifiProbe"`
IsSupportPingDeny bool `xml:"isSupportPingDeny"`
IsSupportClusterIntercom bool `xml:"isSupportClusterIntercom"`
VerificationCodeModification VerificationCodeModification `xml:"VerificationCodeModification"`
}
type OpenPlatformCap ¶
type RS485WorkMode ¶
type SerialCap ¶
type SerialCap struct {
RS485PortNums int `xml:"rs485PortNums"`
SupportRS232Config bool `xml:"supportRS232Config"`
RS422PortNums int `xml:"rs422PortNums"`
RS232PortNums int `xml:"rs232PortNums"`
RS485WorkMode RS485WorkMode `xml:"rs485WorkMode"`
}
type SupportQuickConfigType ¶
type SupportQuickConfigType struct {
Opt string `xml:"opt,attr"`
}
type SysCap ¶
type SysCap struct {
NetworkCap NetworkCap `xml:"NetworkCap"`
SerialCap SerialCap `xml:"SerialCap"`
IsSupportSubscribeEvent bool `xml:"isSupportSubscribeEvent"`
IsSupportSubscribeIOTInfo bool `xml:"isSupportSubscribeIOTInfo"`
}
type UserCheck ¶
type UserCheck struct {
XMLName xml.Name `xml:"userCheck"`
Version string `xml:"version,attr"`
Xmlns string `xml:"xmlns,attr"`
StatusValue int `xml:"statusValue"`
StatusString string `xml:"statusString"`
IsDefaultPassword bool `xml:"isDefaultPassword"`
IsRiskPassword bool `xml:"isRiskPassword"`
IsActivated bool `xml:"isActivated"`
LockStatus string `xml:"lockStatus"`
UnlockTime int `xml:"unlockTime"`
RetryLoginTime int `xml:"retryLoginTime"`
}
type VerificationCodeModification ¶
type VerificationCodeModification struct {
VerificationCodeType string `xml:"verificationCodeType"`
}
type VideoIntercomCap ¶
type VideoIntercomCap struct {
Platform string `xml:"platform"`
}
Click to show internal directories.
Click to hide internal directories.