diff options
author | Collin Guarino <collin.guarino@gmail.com> | 2016-02-29 19:34:19 -0500 |
---|---|---|
committer | Collin Guarino <collin.guarino@gmail.com> | 2016-02-29 19:34:19 -0500 |
commit | 6faf8ecae6fd2dceadf2f3bbd15565f35c2c1a64 (patch) | |
tree | 77063fdec4dfe8b677d3a823a7c4432dc1228af7 /bridge.go | |
parent | d115895133ffd0f287eb0de096a897faaa7756e2 (diff) |
Changed example code to match new FindBridges function and fixed documentation.
Diffstat (limited to 'bridge.go')
-rw-r--r-- | bridge.go | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -152,9 +152,8 @@ func HandleResponse(resp *http.Response) ([]byte, io.Reader, error) { return body, reader, nil } -// FindBridge will visit www.meethue.com/api/nupnp to see if a bridge -// is available on the local network. This feature currently only supports one -// bridge on the network. +// FindBridges will visit www.meethue.com/api/nupnp to see a list of +// bridges on the local network. func FindBridges() ([]Bridge, error) { bridge := Bridge{IPAddress: "www.meethue.com"} body, _, err := bridge.Get("/api/nupnp") |