update README.md

This commit is contained in:
Eamon
2018-05-16 12:58:18 +08:00
parent fa8065730b
commit 6d8f9c3a71

View File

@@ -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"}