Commit Graph
11 Commits
Author SHA1 Message Date
Stefan Prodan 298c1ae941 Update dependencies
- Replace `dgrijalva/jwt-go` with `golang-jwt/jwt`
- Replace `ioutil` with `io` and `os`

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-02-03 11:42:17 +02:00
Rajat Vig 38a7952407 Reformat 2022-01-10 16:19:45 +00:00
Rajat Vig 22ee79fcb8 Add the copyheaders code back 2021-12-22 14:13:36 +00:00
Rajat Vig c4f2a6c5e6 Setup different name; Copying of headers is not required for spans 2021-12-22 01:29:21 +00:00
Rajat Vig 2c85a72737 Add back copyTraceHeaders() as OpenTelemetry does not default propagate 2021-12-16 14:12:32 +00:00
Ilya DmitrichenkoandRajat Vig 61d6ed42f5 Add OpenTelemetry tracer 2021-12-16 12:39:10 +00:00
stefanprodan a12d0a1ed7 Add support for multiple backends
When calling /echo, the backends requests will be run in parallel and the results are aggregated and returned to the caller as a json array
2019-09-27 11:52:22 +03:00
stefanprodan 2479134e78 Implement swagger support
- add swagger definitions for all API routes
- self-host the swagger UI on `/swagger/`
- serve swagger spec on `/swagger.json`
2019-08-07 14:17:35 +03:00
stefanprodan c287ab7daf Rename imports and use go modules 2019-08-06 15:05:15 +03:00
Stefan Prodan 593ccaa0cd Add random delay and errors middleware 2018-08-21 03:12:20 +03:00
Stefan Prodan 153f4dce45 Add echo handler with backend propagation 2018-08-20 11:24:23 +03:00