aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCollin Guarino <collin.guarino@gmail.com>2016-02-02 23:33:44 -0500
committerCollin Guarino <collin.guarino@gmail.com>2016-02-02 23:33:44 -0500
commitb0415daf6bd722e1bfea080de82b8a7ee4e24097 (patch)
treea8e62660ca86ab02bdc7c7997e64c04a60cc1009
parent4ea6a6f722fe8eacf44b5372c20b8ea6dc2b1ccd (diff)
Started on bridge.Post func.
-rw-r--r--bridge.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/bridge.go b/bridge.go
index f8009f8..942318a 100644
--- a/bridge.go
+++ b/bridge.go
@@ -57,6 +57,13 @@ func (self *Bridge) Get(path string) ([]byte, io.Reader, error) {
return body, reader, nil
}
+func (self *Bridge) Post(path string) ([]byte, io.Reader, error) {
+ // resp, err := http.Post("http://" + self.IpAddress + path)
+ // if err != nil {
+ // trace("", err)
+ // }
+}
+
// Error Struct
// http://www.developers.meethue.com/documentation/error-messages
type Error struct {