webliupeng
248d30f068
fix incorrect return type in service template ( #935 )
4 years ago
包子
65d8b48f9a
add examples/traces ( #932 )
4 years ago
dowenliu-xyz
aab0d5aa43
fix tracing: call tracer.End() in closure. ( #928 )
4 years ago
Tony Chen
ba5b8d1ee3
api/metadata: clean package ( #926 )
...
* clean api proto
* fix nil trace_id
4 years ago
Tony Chen
5d36b6e67c
kratos: fix: unable to get the correct port when registering the service ( #925 )
...
* fix: unable to get the correct port when registering the service
4 years ago
Tony Chen
e989bb04e3
add yaml encoder ( #924 )
4 years ago
Tony Chen
2de0fa330c
remove event interface ( #923 )
4 years ago
Tony Chen
0dbcaa2443
clean transport ( #920 )
4 years ago
longxboy
8f8b861f7d
add default propagation for trace ( #919 )
...
* add default propagation for trace
* add trace carrier
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
dowenliu-xyz
24b1ca6bc3
tracing: set tracing status after request. ( #911 )
4 years ago
Jason C.H
e7926b989d
Import direct resovler for grpc client ( #913 )
4 years ago
包子
6791cd665b
Modify cmd new project terminal output style ( #908 )
...
* Modify cmd new project terminal output style
* Modify kratos cmd create project handling abnormal situations
* Modify cmd new project terminal output style
4 years ago
包子
0e4a057027
modify kratos cmd new project ( #907 )
...
* Modifying the kratos cmd new project does not use the go git module, but uses the native git command
4 years ago
longXboy
42313e9368
fix api proto import path
4 years ago
longXboy
d8edff0b84
fix api metadata
4 years ago
Cluas
7e7bbdbed6
encoding/xml: add xml encode support ( #905 )
...
* encoding/xml: add xml encode support
* encoding/xml: avoid nil pointer panic
* action: avoid go get golint pollution go.mod
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
longXboy
86193a2a5f
fix api meta proto path
4 years ago
longxboy
0e0be64cba
add api metadata ( #901 )
...
* add api metadata
4 years ago
miya
dc0f4ed9b8
mw/logging:enhance req.(fmt.Stringer) ( #898 )
4 years ago
Tony Chen
eed0ac7d4a
add layout env ( #897 )
4 years ago
Tony Chen
2e4bb11f00
remove proto gopath ( #896 )
4 years ago
Tony Chen
eeab979d5f
remove errors generator ( #892 )
4 years ago
Tony Chen
801f89b6db
log: rename Print to Log ( #886 )
...
* rename Print to Log
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
Joe
21d9ff2c39
refactor: format new.go ( #885 )
4 years ago
Tony Chen
d85f5e9ae1
encoding/json: fix nil value ( #884 )
...
* fix nil value
4 years ago
Tzz
18ea3a6a47
Fix: marshalJson error, when values contains map[interface{}]interface{} ( #883 )
...
Co-authored-by: tzz <tzz.wannamoney@qq.com>
4 years ago
Tony Chen
6919f158cd
api/errors: fix parse error ( #881 )
...
* fix parse error
4 years ago
Tony Chen
7c6f53132f
api/errors: refactor to grpc statas ( #880 )
...
* refactor to grpc status
4 years ago
Cluas
8b875e43a5
binding: ignore unexpected field ( #879 )
4 years ago
包子
f33bd70d75
middleware/logging client add traceid ( #878 )
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
包子
b03c810dce
fix middleware/logging unable to print params ( #868 )
...
fix middleware/logging unable to print params
4 years ago
opensite
4f1d2f056f
feat:add grpc reflection register ( #865 )
4 years ago
Tony Chen
e1c84ece84
refactor errors ( #863 )
4 years ago
opensite
b9e905c1af
transport/grpc: add health check ( #861 )
...
* add grpc healthcheck
4 years ago
Tony Chen
3780f70c91
examples: update mod ( #862 )
...
* fix examples errors
4 years ago
Tony Chen
9806191b7f
errors: Error v2 ( #860 )
...
* refactor api errors
4 years ago
Serhat Şevki Dinçer
5d9b5818f2
simplify codeql configuration ( #846 )
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