Delete characteristic

This commit is contained in:
Matthew Dillon 2015-10-12 10:27:32 -07:00
parent e1b4cd80fe
commit 50bee9ab88
3 changed files with 12 additions and 1 deletions

View file

@ -82,6 +82,7 @@ func Handler() http.Handler {
r{handleCreater(characteristicService), "POST", "/characteristics"},
r{handleGetter(characteristicService), "GET", "/characteristics/{ID:.+}"},
r{handleUpdater(characteristicService), "PUT", "/characteristics/{ID:.+}"},
r{handleDeleter(characteristicService), "DELETE", "/characteristics/{ID:.+}"},
r{handleLister(measurementService), "GET", "/measurements"},
r{handleCreater(measurementService), "POST", "/measurements"},
r{handleGetter(measurementService), "GET", "/measurements/{ID:.+}"},