包子
73bba905b4
typo(examples/blog): change ”make run“ to ”kratos run“ ( #1474 )
3 years ago
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
杜晨昊
2fa9168bde
fix example blog makefile ( #1296 )
4 years ago
包子
6e9ce7af22
chore(example/blog): add ent tracing, and print the original SQL ( #1163 )
4 years ago
longXboy
14d383bc6f
add v2.0.0
4 years ago
longxboy
798b0e6e7d
upgrade otel to v1 rc1 ( #1132 )
4 years ago
longxboy
7530fadde0
Feat/fix examples ( #1129 )
...
remove github protobuf dependency
4 years ago
包子
493c11929f
fix(examples): rename config to cfg in blog ( #1122 )
4 years ago
opensite
4236b40c94
feat(cmd): support the validate pb file generate for kratos proto client command ( #1094 )
...
kratos client 命令 增加 validate pb 文件生成
Co-authored-by: lishuangxi <lishuangxi@bjx.cloud>
4 years ago
longxboy
8baa2ede4b
add path pattern for http ( #1076 )
...
* add path pattern for http
4 years ago
Tony Chen
8d8cd8c8a8
Middleware/metadata v2 ( #1050 )
...
* add middleware metadata
* add transport header
* add transport carrier
Co-authored-by: longXboy <longxboy@gmail.com>
4 years ago
Tony Chen
2729caeecf
http/binding: rename encode url ( #1039 )
...
* rename binding url
4 years ago
Tony Chen
eca0f35cb5
transport/http: add vars to http context ( #1037 )
...
* add vars to http context
* add query to http context
* remove http deps
* clean request decoder
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
longxboy
736385c8e6
Feat/uni transport ( #1028 )
...
* add metadata incoming&outgoing
* regenerate proto
* uni transport
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
4 years ago
Windfarer
839aef1ae2
trace config ( #956 )
4 years ago
Tony Chen
7dec80ccfd
fix error code and regenerate proto ( #954 )
...
* fix error code and regenerate proto
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
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
Tony Chen
ba5b8d1ee3
api/metadata: clean package ( #926 )
...
* clean api proto
* fix nil trace_id
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
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
3780f70c91
examples: update mod ( #862 )
...
* fix examples errors
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
另维64
089cf9d0cb
doc: update readme ( #837 )
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
Windfarer
5546be9188
fix example ( #755 )
...
* fix example
4 years ago
Tony Chen
98b5903113
examples ( #748 )
...
* move examples
4 years ago