Commit Graph

5 Commits

Author SHA1 Message Date
Rod Apeldoorn
03ded6c189 Updates to uuid package broke backwards compatibility.
Updated discoverDevices and createUserToken functions to handle errors properly. This includes the rare possibility createUserToken could send a new SOAP fault message if a uuid can not be generated (only in out-of-memory situations).

Added vendoring to prevent future dependency issues.

Side Note: Had vendoring not been added, the uuid dependency would cause problems if this go-onvif package was added to a project using vendoring. This is due to go defaulting to a last commit to the master branch, while vendoring defaults to the last published version. This quirk was obvious after seeing the uuid package pushed the breaking change to the master without also pushing it as a new version.
2018-08-28 16:46:42 -07:00
Jeff
11853c6357 Fix an error response - "InvalidArgs" 2017-10-13 16:11:28 +08:00
Radhi Fadlillah
509c717240 Check for error response 2017-05-24 09:12:59 +07:00
Radhi Fadlillah
94d9abee06 Implement fault response handler 2017-05-22 22:36:18 +07:00
Radhi Fadlillah
e1f24a0447 Separate SOAP request 2017-05-16 20:03:14 +07:00