mirror of
https://github.com/kerberos-io/onvif.git
synced 2026-08-23 15:08:33 +00:00
update README.md
This commit is contained in:
@@ -49,7 +49,7 @@ device.Authenticate("username", "password")
|
||||
|
||||
#### Defining Data Types
|
||||
|
||||
Each ONVIF service in this library has its own package, in which all data types of this service are defined, and the package name is identical to the service name and begins with a capital letter. Goonvif defines the structures for each function of each ONVIF service supported by this library. Define the data type of the `GetCapabilities` function of the `Device` service. This is done as follows:
|
||||
Each ONVIF service in this library has its own package, in which all data types of this service are defined, and the package name is identical to the service name and begins with a capital letter. Goonvif defines the structures for each function of each ONVIF service supported by this library. Define the data type of the `GetCapabilities` function of the Device service. This is done as follows:
|
||||
|
||||
```go
|
||||
capabilities := Device.GetCapabilities{Category:"All"}
|
||||
|
||||
Reference in New Issue
Block a user