8 Commits

Author SHA1 Message Date
A. Svensson
d2af505b0c Add TOML config and clean up startup.
- Removed servers.json and it's config code.
- Load the new config.toml, using TOML instead of JSON.
- Moved most of the cli flags to the config file.
- Simplified creation of a new server instance (using New()).
- Goroutine running updates was moved inside the lib.
2016-06-19 15:31:38 +02:00
A. Svensson
ddc9377e53 Remove gin and use http/gorilla mux instead. 2016-06-19 13:52:52 +02:00
A. Svensson
549c5b3599 Fix hardcoded file paths. 2016-04-22 11:15:18 +02:00
A. Svensson
4240297aa8 Log stats in UTC. 2016-02-22 18:35:46 +01:00
A. Svensson
5a10cdecd9 Fix the stupid DB functions and embed gorm instead. 2016-02-20 20:46:27 +01:00
A. Svensson
43c7271a76 Added note about foreign keys, gorm and sqlite. 2015-11-03 22:22:37 +01:00
A. Svensson
5df2d7e3fd Added index and foreign key support to server_populations table. 2015-11-03 21:49:29 +01:00
A. Svensson
c6ec28fc9b Added the new go code. 2015-11-03 19:36:33 +01:00