baozhecheng
a45f3afdff
Revert "feat: support polaris service governance"
...
This reverts commit b67d514bfa
.
2 years ago
baozhecheng
b67d514bfa
feat: support polaris service governance
2 years ago
JellyTony
590c469081
feat: add app Before and Afters option ( #2403 )
...
* feat: add app Before and Afters option
* feat: before and Afters with context params
* style: declaration of "err" shadows declaration
Co-authored-by: JeffreyBool <zhanggaoyuan@mediatrack.cn>
2 years ago
jesse.tang
6ca225b078
add notes by not used defer ( #2291 )
3 years ago
charviki
a3439c9713
fix: catch server stop error ( #2125 )
...
Co-authored-by: chenwq <chenwq@mvalley.io>
3 years ago
Tony Chen
503ec03f37
app: fix instance nil when not registered ( #2059 )
...
* fix instance nil when not registered
* fix data race
3 years ago
Tony Chen
7a5c2207a1
fix: starter parent ctx ( #1895 )
...
* fix: starter parent ctx
* fix stop ctx
3 years ago
hoslo
f68702a8c2
fix: graceful shutdown ( #1873 )
3 years ago
Sasha Melentyev
d679466a7b
perf(app): add prealloc ( #1843 )
3 years ago
realityone
0ed2e0f379
feat(log): add global logger appliance, as process level default logger ( #1761 )
...
* add global logger appliance, as process level default logger
* replace DefaultLogger as global logger
3 years ago
Wimi Yuan
2acede53f3
feat(app): app info delivery to stop context ( #1649 )
3 years ago
包子
70f58b264a
fix(app): use new context when app stop ( #1589 )
3 years ago
longxboy
52876d3e20
test: add app and transport test ( #1572 )
...
* add app and transport test
3 years ago
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>
3 years ago
SparkLee
09969457e2
fix typo ( #1490 )
3 years ago
longxboy
906a9ead4f
fix:reuse parent ctx cause unexpected stop of App ( #1429 )
...
* fix reuse parent ctx cause unexpected stop of App
4 years ago
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
4 years ago
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
4 years ago
zwhyb
5710bf0e30
fix endpoint panic ( #1291 )
4 years ago
Tony Chen
97694b19ad
test: add registry tests ( #1260 )
...
* add registry tests
* add registrar timeout
Co-authored-by: 包子 <baozhecheng@foxmail.com>
4 years ago
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>
4 years ago
Tony Chen
1dab58616b
remove app info ( #1081 )
4 years ago
Tony Chen
40e34b32f1
clean examples ( #1041 )
...
* clean examples
4 years ago
Tony Chen
99719dd667
cmd: update cmd version ( #1040 )
...
* update cmd version
* update app info
4 years ago
longxboy
e1d6377542
add feat endpoint ( #972 )
...
* add feature endpoint
4 years ago
Tony Chen
149fc0195e
kratos: add application info ( #968 )
...
* add application info
* add base context
* add client target
4 years ago
Tony Chen
4cb3fd62e3
rename Registry to Endpointer ( #964 )
4 years ago
Tony Chen
41ea1fbc76
fix data race ( #963 )
...
* fix data race
4 years ago
Tony Chen
9b31e6293b
app: fix app ready ( #961 )
...
* fix app ready
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
d78eb3ee4b
log: add level printer ( #918 )
...
* add level printer
* fix helper args
* fix test
* Update README.md
4 years ago
Tony Chen
ee211bfe1b
remove unused options ( #767 )
4 years ago
Tony Chen
50af5b2588
add before&after hooks ( #751 )
...
* add before&after hooks
4 years ago
chenzhihui
b97c3c4160
fix registry option
4 years ago
longXboy
f984dc5c6d
rename naming
4 years ago
longXboy
8f064855d9
split naming registry
4 years ago
Tanghui Lin
ef996c826a
add context for registry ( #716 )
...
* add context for registry
4 years ago
chenzhihui
3566386a89
init v2
4 years ago