Augusto Dwenger
461f4b4c94
Add required flag for the token
...
The default flag parsing engine from go was replaced by the the package
github.com/gessevdk/go-flags. It provides more options to parse flags
from the program args and from env vars.
2020-11-11 11:01:13 +01:00
Augusto Dwenger
b8f6a1a65b
Add first test for GetHosts -> proof of concept
...
Implementing first http test.
2020-10-20 21:01:53 +02:00
Augusto Dwenger
7f817e166f
Implement logrus for logging
...
Fix wrong error handling if host was not found getting the stats for it.
Add configuration flags to configure the logging.
2020-10-18 19:01:40 +02:00
Augusto Dwenger
44897b3b5a
Implement the hosts controller
...
Simple interaction with the db like getting some data and inserting
new data points into it.
2020-10-18 15:38:57 +02:00
Augusto Dwenger
cc663128f4
Implement in memory db for development
2020-10-16 17:38:30 +02:00