Commit Graph

23 Commits

Author SHA1 Message Date
Miroslav Šedivý
2bf83f6217 add metrics to config. 2022-07-04 18:26:29 +02:00
Miroslav Šedivý
8f83089c8e move to /health and exclude metrics from logging. 2022-07-04 18:09:47 +02:00
Miroslav Šedivý
ef7e9b1a53 move metrics to /metrics. 2022-06-14 22:34:51 +00:00
Miroslav Šedivý
8593d2d0fd move shared code to pkg. 2022-03-20 11:43:00 +01:00
Miroslav Šedivý
94c17e9a42 rename module to gitlab.com/demodesk/neko/server. 2022-03-20 11:27:41 +01:00
Miroslav Šedivý
89ba775a71 add pprof. 2022-02-12 20:22:50 +01:00
Miroslav Šedivý
31eb743a5d fix static server response code. 2021-09-20 00:19:33 +02:00
Miroslav Šedivý
f96466b7b9 websocket upgrade as router handler. 2021-09-18 14:59:15 +02:00
Miroslav Šedivý
7e548ec00a logger wrap zerolog. 2021-09-17 19:27:21 +02:00
Miroslav Šedivý
fb6042ada1 do not export router context. 2021-09-17 19:23:04 +02:00
Miroslav Šedivý
5a7cdd31fe http refactor. 2021-09-17 00:24:33 +02:00
Miroslav Šedivý
4fa11e6a2a refactor HTTP error. 2021-09-16 20:16:51 +02:00
Miroslav Šedivý
7e2f173460 unify shutdown logs. 2021-09-02 00:00:29 +02:00
Miroslav Šedivý
530cc04805 http use config. 2021-08-29 15:40:58 +02:00
Miroslav Šedivý
52e586790e fix static files serving Path. 2021-03-21 21:42:53 +01:00
Miroslav Šedivý
58d029f455 WS upgrade no returning error. 2021-03-16 10:45:22 +01:00
Miroslav Šedivý
c6a183f766 set AllowCredentials to true. 2021-03-01 18:20:17 +01:00
Miroslav Šedivý
2b693f4e52 fix naming convention. 2021-02-14 17:11:21 +01:00
Miroslav Šedivý
45679f1b86 format Go source code. 2021-02-14 14:40:17 +01:00
Miroslav Šedivý
57ed35552f websocket in api scope. 2021-01-29 23:02:29 +01:00
Miroslav Šedivý
d30d6deb79 add CORS. 2021-01-23 18:18:14 +01:00
Miroslav Šedivý
40b986c8be use Chi Router instead of Chi Mux. 2020-11-14 18:16:25 +01:00
Miroslav Šedivý
dd8867615e fix naming convention. 2020-11-13 17:34:53 +01:00