Commit Graph

66 Commits

Author SHA1 Message Date
Dane Everitt
4bdf373ab8
Cleanup to better match the revised server data format 2019-03-24 17:39:13 -07:00
Dane Everitt
80b4da9284
Move configuration into root space 2019-03-24 15:59:37 -07:00
Jakob Schrettenbrunner
53a3fbc464 remove trailing slashes from api
use correct handler to provide server logs
remove Baerer from Authorization header to compare it with known tokens
fix wings-api.paw routes
2018-05-17 21:18:02 +02:00
Jakob Schrettenbrunner
501409827e some reorganisation etc. in control package
some minor stuff
just pushing so I can try to replace fsouza/go-dockerclient with moby/moby/client
2018-02-20 23:38:29 +01:00
Dane Everitt
256c566dfe
Change to using yml for configuration files 2017-09-30 17:25:04 -05:00
Jakob Schrettenbrunner
6c58fec7d3 config: fix tests using old config struct 2017-09-01 00:05:36 +02:00
Jakob Schrettenbrunner
a3fcd7c3e0 config: remove old config struct 2017-09-01 00:00:08 +02:00
Jakob Schrettenbrunner
ef28b61136 config: use constants with config keys instead of struct as its easier to handle 2017-08-31 20:13:01 +02:00
Jakob Schrettenbrunner
d9f57ce7ed fix assert.Equal order 2017-07-29 13:09:17 +02:00
Jakob Schrettenbrunner
0bceb409e5 implement auth middleware 2017-07-06 20:49:36 +02:00
Jakob Schrettenbrunner
fbfeed4ee7 add debug flag to config 2017-06-27 10:42:19 +02:00
Jakob Schrettenbrunner
90e81d89eb add config_test.go 2017-06-26 21:04:11 +02:00
Jakob Schrettenbrunner
06055d6265 unmarshal config into struct with viper for consistent access 2017-06-26 11:07:53 +02:00
Jakob Schrettenbrunner
f244cda20f add example config
add generateLetsEncrypt setting
2017-06-19 16:20:58 +02:00
Jakob Schrettenbrunner
03acc4d5a3 add full config struct 2017-06-19 16:15:28 +02:00
Jakob Schrettenbrunner
326fdcae6e very basic thoughts on module and file structure
basic configuration
basic logger
2017-06-19 00:01:44 +02:00