aboutsummaryrefslogtreecommitdiff
path: root/bridge.go
AgeCommit message (Collapse)Author
2016-02-28Ran go fmt on all files.Collin Guarino
2016-02-27Major fix for Bridge.CreateUser and change to user management design.Collin Guarino
2016-02-27Fixed Bridge.Login to verify authentication instead of crashing later.Collin Guarino
2016-02-27Implemented FindBridge, added unit tests, and documentation.Collin Guarino
2016-02-25Added clarity to Bridge.NewBridge documentation and adjusted error output ↵Collin Guarino
line spacing.
2016-02-24Fixed bug in Bridge.GetAllLights where light.Bridge was not assigned and ↵Collin Guarino
causing a nil pointer.
2016-02-24Major bug fix for Bridge.GetAllLights not working in missing index cases.Collin Guarino
2016-02-21Reverted last change since /lights/<index> must start at 1.Collin Guarino
2016-02-21Fixed index issue where GetAllLights would not get index 0.Collin Guarino
2016-02-21Temporarily making Bridge.Login not force CreateUser every time in case the ↵Collin Guarino
user does not exist.
2016-02-21Improved error handling for Bridge.Login and Bridge.CreateUserCollin Guarino
2016-02-21Implemented error catching on GetAllLights if no lights are found.Collin Guarino
2016-02-20Implemented more verbose error output.Collin Guarino
2016-02-20Improved error log system.Collin Guarino
2016-02-19Removed unnecessary parenthesis around GetInfo return.Collin Guarino
2016-02-19Simplified BridgeInfo Device struct and claned up Bridge.GetInfoCollin Guarino
2016-02-19Removed all log output except for errors.Collin Guarino
2016-02-18Moved functions, rearranged Bridge.funcs into bridge.go fileCollin Guarino
2016-02-18Implemented Bridge.Login() func that will assign Bridge.Username and create ↵Collin Guarino
the user if it does not exist. Also convered more functions to Bridge.func()
2016-02-17Changed more 'self' definition names to reflect the name of the struct.Collin Guarino
2016-02-16Renamed all 'self' definitions to resemble the struct name.Collin Guarino
2016-02-16Changed documentation header standard project wide to a less passive voice.Collin Guarino
2016-02-14Documentation links for philips hue website to official docs added to all ↵Collin Guarino
file headers.
2016-02-13Implemented Bridge.DeleteUser func and tweaked Bridge.CreateUserCollin Guarino
2016-02-13Cleaned up Bridge.CreateUserCollin Guarino
2016-02-13Converted SetLightState to Light.SetStateCollin Guarino
2016-02-13Converted GetBridgeInfo to Bridge.GetInfoCollin Guarino
2016-02-13Moved CreateUser to Bridge.CreateUserCollin Guarino
2016-02-13Cleaned up documentation and tests.Collin Guarino
2016-02-13Added documentation for Bridge.Delete, Bridge.Put, Light.Delete.Collin Guarino
2016-02-13Implemented Bridge.Delete and Light.Delete.Collin Guarino
2016-02-13Removed unused Error struct.Collin Guarino
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