Commit Graph
5 Commits
Author SHA1 Message Date
Denis Arh d74239c735 Improve HTTP server startup, add wrapping handler
HTTP server now initializes much earlier and mounts "waiting"
router with debugging, version and health check routes.

When server is fully activated it switches to "active"
router.

Shutdown stage is also handled with catch-all route.
2022-02-13 18:52:59 +01:00
Denis Arh 60020f8510 Upgrade go-chi&co 2022-01-11 10:53:49 +01:00
Denis Arh 5d6945cec9 Add locale handling, translation dec/enc and serving 2021-08-23 19:10:21 +02:00
Denis Arh ed8fc547f7 Config. environment (throughenv var 'ENVIRONMENT') 2020-11-04 15:13:27 +01:00
Denis Arh ecb7f52c31 Improve error creation & handling by API 2020-11-04 14:18:33 +01:00