diff options
author | Collin Guarino <collin.guarino@gmail.com> | 2016-01-22 20:10:24 -0500 |
---|---|---|
committer | Collin Guarino <collin.guarino@gmail.com> | 2016-01-22 20:10:24 -0500 |
commit | 15619bdd2fb0350bda4585872598e704896edfeb (patch) | |
tree | 3ec3cd2ef9f5ed01157a8b1af9d40120018b00c7 | |
parent | 8adbc8bc11203c1efe373934b18c79ce14649e5a (diff) |
Inner struct for bridge info from /description.html
-rw-r--r-- | bridge.go | 24 |
1 files changed, 11 insertions, 13 deletions
@@ -12,17 +12,15 @@ type Bridge struct { IPAddress string Username string Debug bool - Info Description -} - -type Description struct { - DeviceType string - FriendlyName string - ManufacturerURL string - About string - ModelName string - ModelNumber string - ModelURL string - SerialNumber string - UDN string + Info struct { + DeviceType string + FriendlyName string + ManufacturerURL string + About string + ModelName string + ModelNumber string + ModelURL string + SerialNumber string + UDN string + } } |