Fork github.com/huin/goupnp to add open-home support
Go to file
Jeff f6cef970a4 update internetgateway1 example to build on go1.4
the Service field on the ServiceClient is already *goupnp.Service, so taking the address makes it a **goupnp.Service which no longer will dereference to call methods on type *goupnp.Service like String and RequestSCDP.
2014-12-11 12:44:49 -07:00
cmd update internetgateway1 example to build on go1.4 2014-12-11 12:44:49 -07:00
dcps Add additional header docs to generated DCP packages. 2014-06-07 21:24:11 +01:00
example Add another GetExternalIPAddress example, using a common function. 2014-01-06 20:17:14 +00:00
gotasks Add additional header docs to generated DCP packages. 2014-06-07 21:24:11 +01:00
httpu Minor corrections to error handling logic in httpu. 2014-06-08 09:19:48 +01:00
scpd Add SCPD.GetAction method. 2014-06-06 21:55:52 +01:00
soap Correct the encoding of SOAP action arguments. 2014-06-06 21:21:13 +01:00
ssdp Initial work on maintaining a registry of discovered devices. 2014-06-08 13:45:53 +01:00
device.go Small fixes and removals, update discoverigd.go. 2013-12-31 18:36:26 +00:00
goupnp.go Remove debug logging left in by mistake. 2014-01-06 20:15:29 +00:00
LICENSE Discovery of IGD vaguely in place. Start of parsing device schema. 2013-09-26 23:11:06 +01:00
README.md Add goupnp installation instructions. 2014-06-07 20:08:50 +01:00
service_client.go Add another GetExternalIPAddress example, using a common function. 2014-01-06 20:17:14 +00:00

goupnp is a UPnP client library for Go

Installation

Run go get -u github.com/huin/goupnp.

Regenerating dcps generated source code:

  1. Install gotasks: go get -u github.com/jingweno/gotask
  2. Change to the gotasks directory: cd gotasks
  3. Download UPnP specification data (if not done already): wget http://upnp.org/resources/upnpresources.zip
  4. Regenerate source code: gotask specgen -s upnpresources.zip -o ../dcps