Commands on settings

Former-commit-id: 796b8028e5a4cad7b898d05f8ae8dc5eaffe388d [formerly 287049a1fc824af552e73474769355bd9458df60] [formerly b34c228a89e28f55f87bcbbfefa066bf658fc03b [formerly 940505edec]]
Former-commit-id: bda53abd867dac3368108ef7ac966d4f8a3cbc20 [formerly 2beb3f01ed39c031059c00208d36f438abbf4f2c]
Former-commit-id: 3183968b8a27dd568655875cec9aff69a0d1d0a1
This commit is contained in:
Henrique Dias
2017-07-08 20:27:26 +01:00
parent c499c502d1
commit 7abb3c7df2
4 changed files with 122 additions and 7 deletions

View File

@@ -127,6 +127,8 @@ func apiHandler(c *requestContext, w http.ResponseWriter, r *http.Request) (int,
return resourceHandler(c, w, r)
case "users":
return usersHandler(c, w, r)
case "commands":
return commandsHandler(c, w, r)
}
return http.StatusNotFound, nil