Add API method to connect to server with given url

This commit is contained in:
Dan Sosedoff
2014-10-31 22:37:58 -05:00
parent 5a2c13e6c4
commit 7ac9bee098
3 changed files with 41 additions and 0 deletions

View File

@@ -114,6 +114,7 @@ func startServer() {
}
router.GET("/", API_Home)
router.POST("/connect", API_Connect)
router.GET("/databases", API_GetDatabases)
router.GET("/info", API_Info)
router.GET("/tables", API_GetTables)