diff options
author | Collin Guarino <collin.guarino@gmail.com> | 2016-02-13 11:25:45 -0500 |
---|---|---|
committer | Collin Guarino <collin.guarino@gmail.com> | 2016-02-13 11:25:45 -0500 |
commit | 922e7290c37e46046b1a4e68818c77c44a192b2e (patch) | |
tree | c3c0f24523c05f4edcec1a77fe12ac57a6c90ddc /light.go | |
parent | 0a6419db7d1db3f7521c6532b126d78526c65caa (diff) |
Added documentation for Bridge.Delete, Bridge.Put, Light.Delete.
Diffstat (limited to 'light.go')
-rw-r--r-- | light.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -90,6 +90,8 @@ func (self *Light) Toggle() error { return nil } +// Light.Delete will remove the light from the list of +// lights available on the bridge. func (self *Light) Delete() error { uri := fmt.Sprintf("/api/%s/lights/%d", self.Bridge.Username, self.Index) err := self.Bridge.Delete(uri) |