aboutsummaryrefslogtreecommitdiff
path: root/bridge.go
AgeCommit message (Collapse)Author
2016-02-10Added email to license headers.Collin Guarino
2016-02-10Added screenname to license headers.Collin Guarino
2016-02-10Added GPLv2 license header to all files.Collin Guarino
2016-02-06Improved log formatting with line separators.Collin Guarino
2016-02-06Fixed LightState struct and bridge.Put request model.Collin Guarino
2016-02-04Added index to Light struct to easily reference it from []light.Collin Guarino
2016-02-04Rough commit for bridge.Put. Need to fix http.NewRequest to provde an io.Reader.Collin Guarino
2016-02-04Prepared SetLightState for bridge.PutCollin Guarino
2016-02-03Cleaned up bridge.go file, added more documentation, and fixed line spacing.Collin Guarino
2016-02-03Cleaned up GetBridgeInfo func.Collin Guarino
2016-02-03Implemented bridge.Post and converted CreateUser func to use it.Collin Guarino
2016-02-02Added handleResponse and bridge.Error to manage http responses and bridge ↵Collin Guarino
specific errors with rest calls.
2016-02-02Started on bridge.Post func.Collin Guarino
2016-02-02Convered GetAllLights to use the bridge.Get function.Collin Guarino
2016-02-01Implementation for bridge.Get and made GetBridgeInfo use the new function.Collin Guarino
2016-01-31Rough implementation for bridge.GetCollin Guarino
2016-01-31Refactored error system to make sure all functions return an error if it occurs.Collin Guarino
2016-01-30Reconfigured trace func to use log.Fatal for os.exit.Collin Guarino
2016-01-30Cleaned up CreateUser function and added documentation.Collin Guarino
2016-01-30Added dev specific error types and converted CreateUser, Bridge functions to ↵Collin Guarino
new error system.
2016-01-30Added some command specific errors.Collin Guarino
2016-01-30Fixed spacing with generic error details.Collin Guarino
2016-01-30Added generic errors from Hue doc site.Collin Guarino
2016-01-30Hacky json parsing in CreateUser. Will fix later.Collin Guarino
2016-01-28Condensed BridgeInfo struct into one with embedded structs.Collin Guarino
2016-01-28Added error struct, working on CreateUser integration for handling.Collin Guarino
2016-01-27Complete solution to GetAllLights, fixed previously broken mapping.Collin Guarino
2016-01-25Working implementation for CreateUser with unit tests.Collin Guarino
2016-01-25Base implementation for CreateUser function.Collin Guarino
2016-01-24Unit tests for bridge.go file.Collin Guarino
2016-01-24Improved function header documentation format.Collin Guarino
2016-01-23Added username to default NewBridge definition.Collin Guarino
2016-01-23Added error tracing and better log output for GetBridgeInfo.Collin Guarino
2016-01-23Fully operational GetBridgeInfo function.Collin Guarino
2016-01-23Debugging xml.Unmarshal not showing any data.Collin Guarino
2016-01-22Added rough implementation of GetBridgeInfo that parses the XML file.Collin Guarino
2016-01-22Changed Bridge Info struct to match manufacturer XML spec.Collin Guarino
2016-01-22Starting implementation for GetBridgeInfoCollin Guarino
2016-01-22Inner struct for bridge info from /description.htmlCollin Guarino
2016-01-22Base structure for bridge.Collin Guarino