aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCollin Guarino <collin.guarino@gmail.com>2016-01-22 20:10:24 -0500
committerCollin Guarino <collin.guarino@gmail.com>2016-01-22 20:10:24 -0500
commit15619bdd2fb0350bda4585872598e704896edfeb (patch)
tree3ec3cd2ef9f5ed01157a8b1af9d40120018b00c7
parent8adbc8bc11203c1efe373934b18c79ce14649e5a (diff)
Inner struct for bridge info from /description.html
-rw-r--r--bridge.go24
1 files changed, 11 insertions, 13 deletions
diff --git a/bridge.go b/bridge.go
index 73576e1..2a6b97d 100644
--- a/bridge.go
+++ b/bridge.go
@@ -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
+ }
}