Documentation
¶
Index ¶
- type DeviceGeneralInformation
- type DeviceInformation
- type DeviceNorm
- type DevicePerformanceInformation
- type DstInformation
- type Encoding
- type HddInfo
- type LoginToken
- type Logout
- type MaskArea
- type MaskAreaBlock
- type MaskAreaScreen
- type MaskData
- type NetworkDDNS
- type NetworkEmail
- type NetworkFTP
- type NetworkGeneral
- type NetworkGeneralDns
- type NetworkGeneralStatic
- type NetworkNTP
- type NetworkPush
- type Osd
- type OsdChannel
- type OsdTime
- type PtzOperation
- type PtzPreset
- type Recording
- type RecordingMainStream
- type RecordingSubStream
- type ScanWifi
- type Schedule
- type TimeInformation
- type User
- type Wifi
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceGeneralInformation ¶
type DeviceGeneralInformation struct { Time *TimeInformation Dst *DstInformation Norm *DeviceNorm }
type DeviceInformation ¶
type DeviceInformation struct { B485 int `json:"B485"` IoInputNumber int `json:"IOInputNum"` IoOutputNumber int `json:"IOOutputNum"` AudioNumber int `json:"AudioNum"` BuildDay string `json:"buildDay"` ConfigVersion string `json:"cfgVer"` ChannelNumber int `json:"channelNum"` Detail string `json:"detail"` DiskNumber int `json:"diskNum"` FirmwareVersion string `json:"firmVer"` HardwareVersion string `json:"hardVer"` Model string `json:"model"` Name string `json:"name"` Serial string `json:"serial"` Type string `json:"type"` Wifi bool `json:"wifi"` }
type DeviceNorm ¶
type DeviceNorm struct {
Norm string `json:"norm"`
}
type DstInformation ¶
type DstInformation struct { Enable bool `json:"enable"` EndHour int `json:"endHour"` EndMin int `json:"endMin"` EndMon int `json:"endMon"` EndSec int `json:"endSec"` EndWeek int `json:"endWeek"` EndWeekday int `json:"endWeekday"` Offset int `json:"offset"` StartHour int `json:"startHour"` StartMin int `json:"startMin"` StartMon int `json:"startMon"` StartSec int `json:"startSec"` StartWeek int `json:"startWeek"` StartWeekday int `json:"startWeekday"` }
type Encoding ¶
type Encoding struct { Audio bool `json:"audio"` Channel int `json:"channel"` MainStream RecordingMainStream `json:"mainStream"` SubStream RecordingSubStream `json:"subStream"` }
type LoginToken ¶
type MaskArea ¶
type MaskArea struct { Block MaskAreaBlock `json:"block"` Screen MaskAreaScreen `json:"screen"` }
type MaskAreaBlock ¶
type MaskAreaScreen ¶
type NetworkDDNS ¶
type NetworkEmail ¶
type NetworkEmail struct { Username string `json:"username"` Password string `json:"password"` Addr1 string `json:"addr1"` Addr2 string `json:"addr2"` Addr3 string `json:"addr3"` Attachment string `json:"attachment"` Interval string `json:"interval"` Nickname string `json:"nickName"` Schedule Schedule `json:"schedule"` SmtpPort int `json:"smtpPort"` SmtpServer string `json:"smtpServer"` SSL bool `json:"ssl"` }
type NetworkFTP ¶
type NetworkFTP struct { Username string `json:"userName"` Password string `json:"password"` Anonymous bool `json:"anonymous"` Interval int `json:"interval"` MaxSize int `json:"maxSize"` Mode int `json:"mode"` Port int `json:"port"` RemoteDir string `json:"remoteDir"` Schedule Schedule `json:"schedule"` Server string `json:"server"` StreamType int `json:"streamType"` }
type NetworkGeneral ¶
type NetworkGeneral struct { ActiveLink string `json:"activeLink"` Dns NetworkGeneralDns `json:"dns"` Mac string `json:"mac"` Static NetworkGeneralStatic `json:"static"` Type string `json:"type"` }
type NetworkGeneralDns ¶
type NetworkGeneralStatic ¶
type NetworkNTP ¶
type NetworkPush ¶
type NetworkPush struct {
Schedule Schedule `json:"schedule"`
}
type Osd ¶
type Osd struct { BgColor bool `json:"bgcolor"` Channel int `json:"channel"` OsdChannel OsdChannel `json:"osdChannel"` OsdTime OsdTime `json:"osdTime"` }
type OsdChannel ¶
type RecordingMainStream ¶
type RecordingSubStream ¶
type TimeInformation ¶
Click to show internal directories.
Click to hide internal directories.