Versions in this module Expand all Collapse all v1 v1.0.0 Nov 8, 2023 Changes in this version + const AbsoluteMove + const AddAudioDecoderConfiguration + const AddAudioEncoderConfiguration + const AddAudioOutputConfiguration + const AddAudioSourceConfiguration + const AddConfiguration + const AddIPAddressFilter + const AddMetadataConfiguration + const AddPTZConfiguration + const AddScopes + const AddVideoAnalyticsConfiguration + const AddVideoEncoderConfiguration + const AddVideoSourceConfiguration + const AnalyticsWebService + const Both + const ContinuousMove + const CreateAnalyticsModules + const CreateCertificate + const CreateDot1XConfiguration + const CreateOSD + const CreatePresetTour + const CreateProfile + const CreatePullPointSubscription + const CreateRules + const CreateStorageConfiguration + const CreateUsers + const DeleteAnalyticsModules + const DeleteCertificates + const DeleteDot1XConfiguration + const DeleteGeoLocation + const DeleteOSD + const DeleteProfile + const DeleteRules + const DeleteStorageConfiguration + const DeleteUsers + const DeviceWebService + const DigestAuth + const EventWebService + const GeoMove + const GetAccessPolicy + const GetAnalyticsConfigurations + const GetAnalyticsModuleOptions + const GetAnalyticsModules + const GetAudioDecoderConfiguration + const GetAudioDecoderConfigurationOptions + const GetAudioDecoderConfigurations + const GetAudioEncoderConfiguration + const GetAudioEncoderConfigurationOptions + const GetAudioEncoderConfigurations + const GetAudioOutputConfiguration + const GetAudioOutputConfigurationOptions + const GetAudioOutputConfigurations + const GetAudioOutputs + const GetAudioSourceConfiguration + const GetAudioSourceConfigurationOptions + const GetAudioSourceConfigurations + const GetAudioSources + const GetCACertificates + const GetCapabilities + const GetCertificateInformation + const GetCertificates + const GetCertificatesStatus + const GetClientCertificateMode + const GetCompatibleAudioDecoderConfigurations + const GetCompatibleAudioEncoderConfigurations + const GetCompatibleAudioOutputConfigurations + const GetCompatibleAudioSourceConfigurations + const GetCompatibleConfigurations + const GetCompatibleMetadataConfigurations + const GetCompatibleVideoAnalyticsConfigurations + const GetCompatibleVideoEncoderConfigurations + const GetCompatibleVideoSourceConfigurations + const GetConfiguration + const GetConfigurationOptions + const GetConfigurations + const GetCurrentPreset + const GetDNS + const GetDPAddresses + const GetDeviceInformation + const GetDiscoveryMode + const GetDot11Capabilities + const GetDot11Status + const GetDot1XConfiguration + const GetDot1XConfigurations + const GetDynamicDNS + const GetEndpointReference + const GetEventProperties + const GetGeoLocation + const GetGuaranteedNumberOfVideoEncoderInstances + const GetHostname + const GetIPAddressFilter + const GetImagingSettings + const GetMetadataConfiguration + const GetMetadataConfigurationOptions + const GetMetadataConfigurations + const GetMoveOptions + const GetNTP + const GetNetworkDefaultGateway + const GetNetworkInterfaces + const GetNetworkProtocols + const GetNode + const GetNodes + const GetOSD + const GetOSDOptions + const GetOSDs + const GetOptions + const GetPkcs10Request + const GetPresetTour + const GetPresetTourOptions + const GetPresetTours + const GetPresets + const GetProfile + const GetProfiles + const GetRelayOutputs + const GetRemoteDiscoveryMode + const GetRemoteUser + const GetRuleOptions + const GetRules + const GetScopes + const GetServiceCapabilities + const GetServices + const GetSnapshotUri + const GetStatus + const GetStorageConfiguration + const GetStorageConfigurations + const GetStreamUri + const GetSupportedAnalyticsModules + const GetSupportedRules + const GetSystemBackup + const GetSystemDateAndTime + const GetSystemLog + const GetSystemSupportInformation + const GetSystemUris + const GetUsers + const GetVideoAnalyticsConfiguration + const GetVideoAnalyticsConfigurations + const GetVideoEncoderConfiguration + const GetVideoEncoderConfigurationOptions + const GetVideoEncoderConfigurations + const GetVideoSourceConfiguration + const GetVideoSourceConfigurationOptions + const GetVideoSourceConfigurations + const GetVideoSourceModes + const GetVideoSources + const GetWsdlUrl + const GetZeroConfiguration + const GotoHomePosition + const GotoPreset + const ImagingWebService + const LoadCACertificates + const LoadCertificateWithPrivateKey + const LoadCertificates + const Media2WebService + const MediaWebService + const ModifyAnalyticsModules + const ModifyPresetTour + const ModifyRules + const Move + const NoAuth + const OperatePresetTour + const PTZWebService + const PullMessages + const RelativeMove + const RemoveAudioDecoderConfiguration + const RemoveAudioEncoderConfiguration + const RemoveAudioOutputConfiguration + const RemoveAudioSourceConfiguration + const RemoveConfiguration + const RemoveIPAddressFilter + const RemoveMetadataConfiguration + const RemovePTZConfiguration + const RemovePreset + const RemovePresetTour + const RemoveScopes + const RemoveVideoAnalyticsConfiguration + const RemoveVideoEncoderConfiguration + const RemoveVideoSourceConfiguration + const Renew + const RestoreSystem + const ScanAvailableDot11Networks + const Seek + const SendAuxiliaryCommand + const SetAccessPolicy + const SetAudioDecoderConfiguration + const SetAudioEncoderConfiguration + const SetAudioOutputConfiguration + const SetAudioSourceConfiguration + const SetCertificatesStatus + const SetClientCertificateMode + const SetConfiguration + const SetCurrentPreset + const SetDNS + const SetDPAddresses + const SetDiscoveryMode + const SetDot1XConfiguration + const SetDynamicDNS + const SetGeoLocation + const SetHomePosition + const SetHostname + const SetHostnameFromDHCP + const SetIPAddressFilter + const SetImagingSettings + const SetMetadataConfiguration + const SetNTP + const SetNetworkDefaultGateway + const SetNetworkInterfaces + const SetNetworkProtocols + const SetOSD + const SetPreset + const SetRelayOutputSettings + const SetRelayOutputState + const SetRemoteDiscoveryMode + const SetRemoteUser + const SetScopes + const SetStorageConfiguration + const SetSynchronizationPoint + const SetSystemDateAndTime + const SetSystemFactoryDefault + const SetUser + const SetVideoAnalyticsConfiguration + const SetVideoEncoderConfiguration + const SetVideoSourceConfiguration + const SetVideoSourceMode + const SetZeroConfiguration + const StartFirmwareUpgrade + const StartMulticastStreaming + const StartSystemRestore + const Stop + const StopMulticastStreaming + const Subscribe + const SubscriptionReference + const SystemReboot + const Unsubscribe + const UpgradeSystemFirmware + const UsernameTokenAuth + var AnalyticsFunctionMap = map[string]Function + var DeviceFunctionMap = map[string]Function + var EventFunctionMap = map[string]Function + var ImagingFunctionMap = map[string]Function + var Media2FunctionMap = map[string]Function + var MediaFunctionMap = map[string]Function + var PTZFunctionMap = map[string]Function + var Xlmns = map[string]string + type Device struct + func NewDevice(params DeviceParams) (*Device, error) + func (dev *Device) CallMethod(method interface{}) (*http.Response, error) + func (dev *Device) CallOnvifFunction(serviceName, functionName string, data []byte) (interface{}, error) + func (dev *Device) GetDeviceInfo() DeviceInfo + func (dev *Device) GetDeviceParams() DeviceParams + func (dev *Device) GetEndpoint(name string) string + func (dev *Device) GetEndpointByRequestStruct(requestStruct interface{}) (string, error) + func (dev *Device) GetServices() map[string]string + func (dev *Device) SendGetSnapshotRequest(url string) (resp *http.Response, err error) + func (dev *Device) SendSoap(endpoint string, xmlRequestBody string) (resp *http.Response, err error) + type DeviceInfo struct + FirmwareVersion string + HardwareId string + Manufacturer string + Model string + SerialNumber string + type DeviceParams struct + AuthMode string + EndpointRefAddress string + HttpClient *http.Client + Password string + Username string + Xaddr string + type DeviceType int + const ContentType + const NVA + const NVD + const NVS + const NVT + func (devType DeviceType) String() string + type DigestClient struct + func NewDigestClient(stdClient *http.Client, username string, password string) *DigestClient + func (dc *DigestClient) Do(httpMethod string, endpoint string, soap string) (*http.Response, error) + type Function interface + Request func() interface{} + Response func() interface{} + func FunctionByServiceAndFunctionName(serviceName, functionName string) (Function, error)