diff options
| author | Collin Guarino <collin.guarino@gmail.com> | 2016-02-02 23:33:44 -0500 |
|---|---|---|
| committer | Collin Guarino <collin.guarino@gmail.com> | 2016-02-02 23:33:44 -0500 |
| commit | b0415daf6bd722e1bfea080de82b8a7ee4e24097 (patch) | |
| tree | a8e62660ca86ab02bdc7c7997e64c04a60cc1009 | |
| parent | 4ea6a6f722fe8eacf44b5372c20b8ea6dc2b1ccd (diff) | |
Started on bridge.Post func.
| -rw-r--r-- | bridge.go | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 { |
