Commit Graph

26 Commits

Author SHA1 Message Date
Joona Hoikkala
835fbb9ef6
Migrate to GitHub actions for coverage & unit test automation (#251) 2021-01-11 17:31:09 +02:00
Joona Hoikkala
c2c5c5cd70
Better error handling in goroutines (#122)
* More robust goroutine error handling using channels

* Fix tests and make startup log msg saner

* Clarification to README and config file
2018-10-31 00:54:51 +02:00
Joona Hoikkala
90ae6ee268
Default value for added configuration option to keep backwards compatibility with old config (#103) 2018-08-12 20:19:58 +03:00
Joona Hoikkala
ec013c0f25
Better error messages for missing DB config values (#101)
* Better error messages for missing DB config values

* Make linter happy
2018-08-12 19:48:39 +03:00
Joona Hoikkala
856cc05881
Added supplementary error checking (#99)
* Added supplementary errorichecking

* After running util.go through gofmt

* Updated main and util

* Minor updates to main and util

* Slight refactoring

* Add tests
2018-08-12 18:49:17 +03:00
Joona Hoikkala
439da9c09f
Properly parse r.RemoteAddr (#50)
* Properly parse r.RemoteAddr

* Add tests, and fix net.ParseCIDR issues with IPv6 addresses enclosed in brackets
2018-03-15 00:23:55 +02:00
Joona Hoikkala
fd9ce4606d
Get rid of Iris and use julienschmidt/httprouter instead (#20)
* Replace iris with httprouter

* Linter fixes

* Finalize iris removal

* Vendor dependencies for reproducable builds

* Api tests are back
2017-11-14 23:54:29 +02:00
Joona Hoikkala
9c54da3ee6
Try to read config from under /etc (#18) 2017-11-14 00:42:30 +02:00
Joona Hoikkala
41b2ff5940 Use iris v6 and Go 1.8+ (#10)
* Quick fixes to bring framework up to date

* Script for test running, api tests need complete rewrite

* Removed govendor from tests

* Fix for AutoTLS
2017-08-02 19:25:27 +03:00
Joona Hoikkala
bf9eaf2f32
Added config option to check for a header value for clinet IP 2016-12-02 17:04:16 +02:00
Joona Hoikkala
c3ac7a211c
DB code for CIDR handling 2016-12-01 00:03:08 +02:00
Joona Hoikkala
4c437c0506
Added protocol selection to DNS server 2016-11-28 22:46:24 +02:00
Joona Hoikkala
d33bda96fa
New test and test logger stettings 2016-11-28 16:25:42 +02:00
Joona Hoikkala
74f160114b
Moved HTTP server methods to main 2016-11-28 13:09:10 +02:00
Joona Hoikkala
31a82e680f
Better DB test coverage 2016-11-28 01:55:57 +02:00
Joona Hoikkala
4615826267
Made DB an interface 2016-11-27 23:21:46 +02:00
Joona Hoikkala
e9f18c99d8
Refactoring main.go 2016-11-27 22:09:13 +02:00
Joona Hoikkala
74b82c87a6
Refactoring 2016-11-27 21:21:38 +02:00
Joona Hoikkala
5072b231af
Refactored tests 2016-11-27 19:41:54 +02:00
Joona Hoikkala
4269069a54
Went logrus 2016-11-26 15:53:38 +02:00
Joona Hoikkala
ba63bad793 Refactoring 2016-11-23 22:12:43 +02:00
Joona Hoikkala
d30860eeb8 Coding style fixes 2016-11-23 22:12:42 +02:00
Joona Hoikkala
29b666619b
Refactoring 2016-11-16 15:31:40 +02:00
Joona Hoikkala
ed56a11e88
Refactoring, alpha v0.1 2016-11-13 14:50:44 +02:00
Joona Hoikkala
f20ad11188
Fix reserved name 2016-11-12 14:54:41 +02:00
Joona Hoikkala
5433444b2f
Initial commit, PoC quality 2016-11-11 16:48:00 +02:00