aboutsummaryrefslogtreecommitdiff
path: root/bridge.go
AgeCommit message (Expand)Author
2017-03-07fixed get errorrealytcracker
2017-03-07cleaned godoc format, returned else blocksrealytcracker
2017-03-06added 5s timeout to http.clientrealytcracker
2016-12-10Remove logging outputinhies
2016-11-03Go fmt bridge.goinhies
2016-02-29Changed example code to match new FindBridges function and fixed documentation.Collin Guarino
2016-02-29Changed FindBridge to FindBridges (plural) and refactored the function to ret...Collin Guarino
2016-02-28Added defer on response body to close after HandleResponse finishes.Collin Guarino
2016-02-28Implemented Bridge.FindNewLights func.Collin Guarino
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 lin...Collin Guarino
2016-02-24Fixed bug in Bridge.GetAllLights where light.Bridge was not assigned and caus...Collin Guarino
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 u...Collin Guarino
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 t...Collin Guarino
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 fil...Collin Guarino
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