Add endpoint to fetch table indexes

This commit is contained in:
Dan Sosedoff
2014-10-11 13:20:16 -05:00
parent aca2b473b6
commit d786919a36
3 changed files with 28 additions and 5 deletions

View File

@@ -68,7 +68,8 @@ func main() {
router.GET("/info", API_Info)
router.GET("/tables", API_GetTables)
router.GET("/tables/:name", API_GetTable)
router.GET("/tables/:table", API_GetTable)
router.GET("/tables/:table/indexes", API_TableIndexes)
router.GET("/query", API_RunQuery)
router.POST("/query", API_RunQuery)
router.GET("/history", API_History)