longxboy
c1e5b1c17b
add protojson ( #952 )
4 years ago
longxboy
eb958b2093
add path for rpc stub ( #947 )
...
* add path for rpc stub
* fix http body and response_body
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
4 years ago
Tony Chen
66412031fd
errors: refactor status code ( #948 )
...
* refactor status code
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
longxboy
9a3a02fc68
add http client rpc stub ( #943 )
...
* add http client
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
包子
e2031dcfe6
remove example/traces/go.mod ( #940 )
...
modify dockerfile
modify the build process
4 years ago
Tony Chen
4d0770a6a2
fix http handler ( #939 )
4 years ago
Tony Chen
b9f821c29f
transport/http: add http handler ( #937 )
...
* add http handler
* fix request error
4 years ago
Tony Chen
ef6e52d1ba
add multiple middlewares ( #936 )
4 years ago
包子
65d8b48f9a
add examples/traces ( #932 )
4 years ago
Tony Chen
ba5b8d1ee3
api/metadata: clean package ( #926 )
...
* clean api proto
* fix nil trace_id
4 years ago
Tony Chen
e989bb04e3
add yaml encoder ( #924 )
4 years ago
Tony Chen
d78eb3ee4b
log: add level printer ( #918 )
...
* add level printer
* fix helper args
* fix test
* Update README.md
4 years ago
longXboy
42313e9368
fix api proto import path
4 years ago
Cluas
eb732c4de0
internal/http: optimize support more content_type ( #904 )
...
* internal/http: optimize support more type
* internal/http: add bound case
* examples: fix go.sum
* examples: fix go mod
4 years ago
longXboy
a83d396b74
fix example build
4 years ago
miya
f81f95cbbc
example/blog: enhance ctx ( #887 )
4 years ago
opensite
83eba7083a
examples/blog:update the trace to be consistent with the official ( #888 )
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
包子
b8d5d709e9
middleware/logging add traceid to the printed log,modify the example code and update the dependent version ( #877 )
...
* middleware/logging add traceid to the printed log,modify the example code and update the dependent version
* Fix the problem that the configuration could not use arrays
4 years ago
Tony Chen
7c3212c306
transport/http: uses gRPC status to the HTTP error. ( #870 )
...
* uses gRPC status to the HTTP error.
4 years ago
Tony Chen
3780f70c91
examples: update mod ( #862 )
...
* fix examples errors
4 years ago
miya
cb68659cff
ws demo ( #853 )
...
* examples/ws: ws demo
4 years ago
Windfarer
fc539738f1
examples/blog: add cleanup ( #845 )
...
* add cleanup
4 years ago
伊文龙
46acad3400
Fix README file of the blog example. ( #842 )
4 years ago
伊文龙
2a47af33c0
Add README file for http & helloworld examples ( #839 )
...
* Add readme for helloworld example.
* Add readme file for http example.
4 years ago
Tony Chen
e35fd9af6f
http/health: add health checker ( #830 )
...
* add health checker
4 years ago
另维64
089cf9d0cb
doc: update readme ( #837 )
4 years ago
miya
e1fe688e0c
examples/registry: nacos ( #836 )
4 years ago
Tony Chen
1afbf70184
examples: add http examples ( #822 )
...
* add http examples
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
Tony Chen
2eaeda0b17
remove unused ( #786 )
4 years ago
Tony Chen
5a8acec808
examples: fix dir structure ( #768 )
...
* fix dir structure
4 years ago
Tony Chen
e335c1304a
examples: add etcd registry ( #762 )
...
* add etcd example
4 years ago
Windfarer
5546be9188
fix example ( #755 )
...
* fix example
4 years ago
Tony Chen
a4409adf16
fix interface defines ( #760 )
...
* fix interface defines
4 years ago
longxboy
f526d6b975
add exmaple consul registry ( #754 )
4 years ago
Tony Chen
98b5903113
examples ( #748 )
...
* move examples
4 years ago