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

25 Commits

Author SHA1 Message Date
aiscrm 9743ad8d32 fix registry TTL. (#1537)
* fix registry.
1. When etcd stops, the application cannot stop.
2. Stop consul first, then stop app. Then start consul, the registered service remains in consul registry as an unhealthy status.

Co-authored-by: corel <corelchen@qq.com>
2021-10-11 13:46:07 +08:00
SparkLee 09969457e2 fix typo (#1490) 2021-09-17 04:27:34 +08:00
longxboy 906a9ead4f fix:reuse parent ctx cause unexpected stop of App (#1429)
* fix reuse parent ctx cause unexpected stop of App
2021-09-06 21:31:33 +08:00
Kagaya f7588a47de fix: ci lint error (#1391)
* fix lint check

* fix lll lint error

* fix build error

* fix gomnd

* fix shadow declaration

* add make test command

* update
2021-08-31 10:14:57 +08:00
Xudong Cai b44e47b087 refactor: optimize the code and use golangci-lint to check for any errors (#1298)
* feat: optimize the code and use golangci-lint to check for any errors

* fix: TestLogger unit test
2021-08-16 10:35:08 +08:00
zwhyb 5710bf0e30 fix endpoint panic (#1291) 2021-08-02 18:51:07 +08:00
Tony Chen 97694b19ad test: add registry tests (#1260)
* add registry tests

* add registrar timeout

Co-authored-by: 包子 <baozhecheng@foxmail.com>
2021-07-27 15:35:47 +08:00
Tony Chen 59f54b2661 Revert/root ctx v2 (#1088)
* Revert "remove app info (#1081)"

This reverts commit 1dab58616b.

* add http base ctx

Co-authored-by: longXboy <longxboyhi@gmail.com>
2021-06-20 23:00:27 +08:00
Tony Chen 1dab58616b remove app info (#1081) 2021-06-19 15:40:28 +08:00
Tony Chen 40e34b32f1 clean examples (#1041)
* clean examples
2021-06-13 08:42:26 +08:00
Tony Chen 99719dd667 cmd: update cmd version (#1040)
* update cmd version

* update app info
2021-06-13 01:07:43 +08:00
longxboy e1d6377542 add feat endpoint (#972)
* add feature endpoint
2021-05-31 16:10:17 +08:00
Tony Chen 149fc0195e kratos: add application info (#968)
* add application info

* add base context

* add client target
2021-05-29 23:52:05 +08:00
Tony Chen 4cb3fd62e3 rename Registry to Endpointer (#964) 2021-05-28 15:30:55 +08:00
Tony Chen 41ea1fbc76 fix data race (#963)
* fix data race
2021-05-28 15:08:25 +08:00
Tony Chen 9b31e6293b app: fix app ready (#961)
* fix app ready
2021-05-27 22:16:43 +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 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
Tony Chen ee211bfe1b remove unused options (#767) 2021-03-14 16:04:37 +08:00
Tony Chen 50af5b2588 add before&after hooks (#751)
* add before&after hooks
2021-03-07 21:35:52 +08:00
chenzhihui b97c3c4160 fix registry option 2021-03-03 23:09:35 +08:00
longXboy f984dc5c6d rename naming 2021-02-28 20:40:05 +08:00
longXboy 8f064855d9 split naming registry 2021-02-28 13:39:45 +08:00
Tanghui Lin ef996c826a add context for registry (#716)
* add context for registry
2021-02-23 10:20:00 +08:00
chenzhihui 3566386a89 init v2 2021-02-17 17:14:47 +08:00