Kevin Wan
2b9fc26c38
refactor: guard timeout on API files ( #1726 )
2022-03-31 21:39:02 +08:00
Xiaoju Jiang
321dc2d410
Added support for setting the parameter size accepted by the interface and custom timeout and maxbytes in API file ( #1713 )
...
* Added support for setting the parameter size accepted by the interface
* support custom timeout and maxbytes in API file
* support timeout used unit
* remove goctl maxBytes
2022-03-31 20:20:00 +08:00
Kevin Wan
3b7ca86e4f
chore: add unit tests ( #1615 )
...
* test: add more tests
* test: add more tests
2022-03-04 17:54:09 +08:00
Kevin Wan
842656aa90
feat: log 404 requests with traceid ( #1554 )
2022-02-19 20:50:33 +08:00
Kevin Wan
a91c3907a8
feat: rename module from tal-tech to zeromicro ( #1413 )
2022-01-04 15:51:32 +08:00
Kevin Wan
c28e01fed3
feat: support CORS by using rest.WithCors(...) ( #1212 )
...
* feat: support CORS by using rest.WithCors(...)
* chore: add comments
* refactor: lowercase unexported methods
* ci: fix lint errors
2021-11-07 22:42:40 +08:00
Kevin Wan
3ede597a15
feat: support customizing timeout for specific route ( #1203 )
...
* feat: support customizing timeout for specific route
* test: add more tests
2021-11-03 22:20:32 +08:00
Kevin Wan
769d06c8ab
refactor: simplify tls config in rest ( #1181 )
2021-10-31 14:10:47 +08:00
Howie
cd1f8da13f
[update] add plugin config ( #1180 )
...
Signed-off-by: lihaowei <haoweili35@gmail.com>
2021-10-31 12:56:25 +08:00
Kevin Wan
10e7922597
feat: opentelemetry integration, removed self designed tracing ( #1111 )
...
* feat: opentelemetry integration, removed self designed tracing
* feat: support zipkin on opentelemetry integration
* feat: support zipkin on opentelemetry integration, enable it in conf
* style: format code
* fix: support logx without exporter configured
* fix: check return values
* refactor: simplify code
* refactor: simplify opentelemetry integration
* ci: fix staticcheck errors
2021-10-03 20:53:50 +08:00
Kevin Wan
ed15ca04f4
fix: opentelemetry traceid not correct ( #1108 )
2021-10-01 22:44:37 +08:00
zhoushuguang
280e837c9e
rest otel support ( #943 )
2021-08-24 10:04:12 +08:00
noel
faf4d7e3bb
modify the order of PrometheusHandler ( #670 )
...
* modify the order of PrometheusHandler
* modify the order of PrometheusHandler
2021-05-08 17:11:16 +08:00
Kevin Wan
655ae8034c
fix golint issues in rest ( #529 )
2021-03-01 19:15:35 +08:00
Kevin Wan
03b5fd4a10
fix golint issues ( #458 )
2021-02-09 14:03:19 +08:00
kevin
5e87b33b23
support https in rest
2020-10-29 17:44:51 +08:00
kevin
737cd4751a
rename NewPatRouter to NewRouter
2020-10-20 14:23:21 +08:00
kevin
9277ad77f7
fix typo of prometheus
2020-09-27 17:15:15 +08:00
kevin
a958400595
rename prommetric to prometheous, add unit tests
2020-09-27 16:14:16 +08:00
kevin
2b1466e41e
add more tests
2020-08-21 23:09:35 +08:00
kevin
054d9b5540
rename rest files
2020-08-18 20:20:44 +08:00