Tony Chen
1b13abd136
transport/http: add http route ( #1029 )
...
* add http route
* fix http context
* add HTTP middleware
Co-authored-by: longXboy <longxboyhi@gmail.com>
2021-06-12 18:30:17 +08:00
Tony Chen
cc0221b5ce
errors: add errors coder ( #946 )
...
* add errors coder
* rename internal http to httputil
* add errors proto
2021-05-25 00:56:31 +08:00
opensite
44c2641da2
example/blog: add the usage example of validate in proto file for blog ( #942 )
...
* example/blog: add the usage example of validate in proto file for blog
* example/blog: use validator middleware instead of calling validate in every method that needs to be validated
2021-05-23 13:03:10 +08:00
Tony Chen
ef6e52d1ba
add multiple middlewares ( #936 )
2021-05-20 23:30:50 +08:00
Tony Chen
7c6f53132f
api/errors: refactor to grpc statas ( #880 )
...
* refactor to grpc status
2021-04-28 23:09:27 +08:00
opensite
8dc92ef8b4
examples/blog:keep the grpc and http error consistent ( #873 )
2021-04-28 14:31:23 +08:00
Tony Chen
3780f70c91
examples: update mod ( #862 )
...
* fix examples errors
2021-04-25 22:26:31 +08:00
Mikado
1b16831cf6
adjust trace middleware and fix blog's trace middleware use case ( #791 )
...
* middleware: adjust trace middleware
* examples: fix blog's trace middleware use case
2021-03-18 20:10:43 +08:00
Windfarer
5546be9188
fix example ( #755 )
...
* fix example
2021-03-11 23:42:28 +08:00
Tony Chen
98b5903113
examples ( #748 )
...
* move examples
2021-03-05 23:49:25 +08:00