Commit Graph

29 Commits

Author SHA1 Message Date
Dan Sosedoff
e78499551e Disable Gin default debug mode, add -d flag to control it 2014-10-13 18:47:16 -05:00
Dan Sosedoff
e38aedd176 Remove unused options var 2014-10-13 18:40:51 -05:00
Dan Sosedoff
d55671a0fc Add view instructions during startup 2014-10-13 18:40:17 -05:00
Dan Sosedoff
f848116e1b Serve assets with bindata 2014-10-13 14:40:56 -05:00
Dan Sosedoff
05255aa13e Fix path 2014-10-13 13:56:32 -05:00
Dan Sosedoff
9bd0508219 WIP 2014-10-13 13:55:19 -05:00
Dan Sosedoff
7d7e67a54e Use db.Ping to test connection 2014-10-11 22:38:32 -05:00
Dan Sosedoff
ba74d8193c Add function exitWithMessage to terminate program 2014-10-11 22:33:59 -05:00
Dan Sosedoff
8dcb66d58c Exit if selected database does not have any tables 2014-10-11 22:32:10 -05:00
Dan Sosedoff
e2bc79f686 Add /explain endpoint 2014-10-11 13:24:12 -05:00
Dan Sosedoff
d786919a36 Add endpoint to fetch table indexes 2014-10-11 13:20:16 -05:00
Dan Sosedoff
8b3dd2563a Move query history slice into client struct 2014-10-10 21:25:02 -05:00
Dan Sosedoff
7bd23d470f Update readme, fix options parsing 2014-10-10 17:20:14 -05:00
Dan Sosedoff
617d4ce5bf Print startup errors 2014-10-10 17:18:19 -05:00
Dan Sosedoff
40cae0ac1c Restructure 2014-10-10 17:14:17 -05:00
Dan Sosedoff
7adf74ffd4 Tweaks 2014-10-10 00:28:33 -05:00
Dan Sosedoff
29f7e2d58c Check connection before starting server 2014-10-10 00:25:06 -05:00
Dan Sosedoff
e80a4dea06 Add /info endpoint 2014-10-10 00:03:03 -05:00
Dan Sosedoff
26de09a2cd Use table name from url params 2014-10-09 23:48:07 -05:00
Dan Sosedoff
90e9e051de Remove unused code 2014-10-09 22:47:20 -05:00
Dan Sosedoff
65420494d2 Add support for connection string as url 2014-10-09 22:42:52 -05:00
Dan Sosedoff
b3da515b81 Change /tables/:name endpoint response format 2014-10-09 22:35:43 -05:00
Dan Sosedoff
b8e222a440 Return tables as array 2014-10-09 22:14:38 -05:00
Dan Sosedoff
50230be564 Record query history 2014-10-09 19:59:18 -05:00
Dan Sosedoff
5ce35e576b Add -s option to specify static content location 2014-10-09 19:11:03 -05:00
Dan Sosedoff
5b1e6bf2fa Add static dir 2014-10-09 19:05:51 -05:00
Dan Sosedoff
4446218c7a Add table details endpoint 2014-10-09 18:48:22 -05:00
Dan Sosedoff
88743714f0 Add /databases endpoint 2014-10-09 09:58:40 -05:00
Dan Sosedoff
322ff9753b Initial 2014-10-08 21:26:57 -05:00