1
0
mirror of https://github.com/go-kratos/kratos.git synced 2026-05-22 10:15:24 +02:00
Commit Graph

816 Commits

Author SHA1 Message Date
Tony Chen 15d0f22fb7 fix handler options (#941) 2021-05-22 13:46:30 +08:00
包子 e2031dcfe6 remove example/traces/go.mod (#940)
modify dockerfile
modify the build process
2021-05-22 13:41:16 +08:00
Tony Chen 4d0770a6a2 fix http handler (#939) 2021-05-22 11:14:55 +08:00
Tony Chen b9f821c29f transport/http: add http handler (#937)
* add http handler

* fix request error
2021-05-21 23:11:36 +08:00
Tony Chen ef6e52d1ba add multiple middlewares (#936) 2021-05-20 23:30:50 +08:00
webliupeng 248d30f068 fix incorrect return type in service template (#935) 2021-05-20 17:44:01 +08:00
包子 65d8b48f9a add examples/traces (#932) 2021-05-19 13:43:30 +08:00
dowenliu-xyz aab0d5aa43 fix tracing: call tracer.End() in closure. (#928) 2021-05-18 20:37:49 +08:00
Tony Chen ba5b8d1ee3 api/metadata: clean package (#926)
* clean api proto
* fix nil trace_id
2021-05-18 10:29:33 +08:00
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
2021-05-17 23:04:22 +08:00
Tony Chen e989bb04e3 add yaml encoder (#924) 2021-05-17 21:52:23 +08:00
Tony Chen 2de0fa330c remove event interface (#923) 2021-05-17 20:54:54 +08:00
Tony Chen 0dbcaa2443 clean transport (#920) 2021-05-17 20:18:53 +08:00
longxboy 8f8b861f7d add default propagation for trace (#919)
* add default propagation for trace

* add trace carrier
2021-05-17 17:23:41 +08:00
Tony Chen d78eb3ee4b log: add level printer (#918)
* add level printer

* fix helper args

* fix test

* Update README.md
2021-05-17 16:34:28 +08:00
dowenliu-xyz 24b1ca6bc3 tracing: set tracing status after request. (#911) 2021-05-15 16:18:52 +08:00
Jason C.H e7926b989d Import direct resovler for grpc client (#913) 2021-05-15 16:15:08 +08:00
包子 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
2021-05-13 14:57:35 +08:00
包子 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
2021-05-12 22:33:26 +08:00
longXboy 42313e9368 fix api proto import path 2021-05-11 16:18:52 +08:00
longXboy d8edff0b84 fix api metadata 2021-05-11 16:06:07 +08:00
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
2021-05-11 11:36:20 +08:00
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
2021-05-11 10:21:59 +08:00
longXboy a83d396b74 fix example build 2021-05-10 22:09:39 +08:00
longXboy 86193a2a5f fix api meta proto path 2021-05-10 21:39:46 +08:00
longxboy 0e0be64cba add api metadata (#901)
* add api metadata
2021-05-10 10:44:39 +08:00
miya dc0f4ed9b8 mw/logging:enhance req.(fmt.Stringer) (#898) 2021-05-06 20:51:38 +08:00
Tony Chen eed0ac7d4a add layout env (#897) 2021-05-06 19:52:18 +08:00
Tony Chen 2e4bb11f00 remove proto gopath (#896) 2021-05-06 16:45:49 +08:00
Tony Chen eeab979d5f remove errors generator (#892) 2021-05-02 00:00:44 +08:00
Tony Chen 801f89b6db log: rename Print to Log (#886)
* rename Print to Log
v2.0.0-beta4
2021-05-01 01:15:30 +08:00
miya f81f95cbbc example/blog: enhance ctx (#887) 2021-04-29 22:06:13 +08:00
opensite 83eba7083a examples/blog:update the trace to be consistent with the official (#888) 2021-04-29 22:06:01 +08:00
Joe 21d9ff2c39 refactor: format new.go (#885) 2021-04-29 18:45:20 +08:00
Tony Chen d85f5e9ae1 encoding/json: fix nil value (#884)
* fix nil value
2021-04-29 15:49:44 +08:00
Tzz 18ea3a6a47 Fix: marshalJson error, when values contains map[interface{}]interface{} (#883)
Co-authored-by: tzz <tzz.wannamoney@qq.com>
2021-04-29 14:57:13 +08:00
Tony Chen 6919f158cd api/errors: fix parse error (#881)
* fix parse error
2021-04-29 10:56:53 +08:00
Tony Chen 7c6f53132f api/errors: refactor to grpc statas (#880)
* refactor to grpc status
2021-04-28 23:09:27 +08:00
Cluas 8b875e43a5 binding: ignore unexpected field (#879) 2021-04-28 18:58:40 +08:00
包子 f33bd70d75 middleware/logging client add traceid (#878) 2021-04-28 16:23:55 +08:00
opensite 8dc92ef8b4 examples/blog:keep the grpc and http error consistent (#873) 2021-04-28 14:31:23 +08:00
包子 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
2021-04-28 14:30:51 +08:00
Tony Chen 7c3212c306 transport/http: uses gRPC status to the HTTP error. (#870)
* uses gRPC status to the HTTP error.
2021-04-28 00:37:50 +08:00
包子 b03c810dce fix middleware/logging unable to print params (#868)
fix middleware/logging unable to print params
2021-04-27 15:44:35 +08:00
opensite 4f1d2f056f feat:add grpc reflection register (#865) 2021-04-26 22:48:39 +08:00
Tony Chen e1c84ece84 refactor errors (#863) 2021-04-26 16:17:04 +08:00
opensite b9e905c1af transport/grpc: add health check (#861)
* add grpc healthcheck
2021-04-26 13:12:27 +08:00
Tony Chen 3780f70c91 examples: update mod (#862)
* fix examples errors
2021-04-25 22:26:31 +08:00
Tony Chen 9806191b7f errors: Error v2 (#860)
* refactor api errors
2021-04-25 20:19:23 +08:00
Serhat Şevki Dinçer 5d9b5818f2 simplify codeql configuration (#846) 2021-04-22 11:04:29 +08:00