Kagaya
736fb38e79
fix: examples lint error ( #1454 )
...
* fix example lint error
* use latest version lint
* ignore zap Sync error
4 years ago
Windfarer
0ec3ff0b46
refactor: move plugins to contrib dir ( #1399 )
...
* move to contrib dir
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
4 years ago
包子
7b6332ee75
deps: middleware add separate go.mod and removes framework deps ( #1385 )
...
* deps: middleware add separate go.mod and removes framework deps
4 years ago
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>
4 years ago
Tony Chen
cc0221b5ce
errors: add errors coder ( #946 )
...
* add errors coder
* rename internal http to httputil
* add errors proto
4 years ago
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
4 years ago
Tony Chen
ef6e52d1ba
add multiple middlewares ( #936 )
4 years ago
Tony Chen
7c6f53132f
api/errors: refactor to grpc statas ( #880 )
...
* refactor to grpc status
4 years ago
opensite
8dc92ef8b4
examples/blog:keep the grpc and http error consistent ( #873 )
4 years ago
Tony Chen
3780f70c91
examples: update mod ( #862 )
...
* fix examples errors
4 years ago
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
4 years ago
Windfarer
5546be9188
fix example ( #755 )
...
* fix example
4 years ago
Tony Chen
98b5903113
examples ( #748 )
...
* move examples
4 years ago