Commit Graph

1742 Commits (4d7fa08b0bcfbd79fd12845856ad7eafa603ada9)
 

Author SHA1 Message Date
janetyu d4240cd4b0
perfect the bookstore and shorturl doc (#109)
* perfect the bookstore and shorturl doc

* 避免歧义
4 years ago
kevin a22bcc84a3 better lock practice in sharedcalls 4 years ago
kevin 93f430a449 update shorturl doc 4 years ago
kevin d1b303fe7e export cache package, add client interceptor customization 4 years ago
kevin dbca20e3df add zrpc client interceptor 4 years ago
boob b3ead4d76c
doc: update sharedcalls.md layout (#107) 4 years ago
kevin 33a9db85c8 add unit test, fix interceptor bug 4 years ago
kingxt e7d46aa6e2
refactor and rename folder to group (#106)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* update doc

* remove update

* remove no need

* remove no need

* goctl add jwt support

* goctl add jwt support

* goctl add jwt support

* goctl support import

* goctl support import

* support return ()

* support return ()

* revert

* format api

* refactor and rename folder to group

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kevin b282304054 add api doc link 4 years ago
bittoy 0a36031d48
use default mongo db (#103) 4 years ago
kevin e5d7c3ab04 unmarshal should be struct 4 years ago
kevin 12c08bfd39 Revert "goreportcard not working, remove it temporarily"
This reverts commit 8f465fa439.
4 years ago
kevin 8f465fa439 goreportcard not working, remove it temporarily 4 years ago
kingxt 8a470bb6ee
support return () syntax (#101)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* update doc

* remove update

* remove no need

* remove no need

* goctl add jwt support

* goctl add jwt support

* goctl add jwt support

* goctl support import

* goctl support import

* support return ()

* support return ()

* remove pwd for windows not support

* revert

* remove no need

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kevin 9277ad77f7 fix typo of prometheus 4 years ago
kevin a958400595 rename prommetric to prometheous, add unit tests 4 years ago
kevin 015716d1b5 update wechat and etcd yaml 4 years ago
kevin 54e9d01312 update example 4 years ago
kevin bc831b75dd export AddOptions, AddStreamInterceptors, AddUnaryInterceptors 4 years ago
kevin ff112fdaee query from cache first when do cache.Take 4 years ago
kingxt 8d0f7dbb27
rename (#98)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* update doc

* remove update

* remove no need

* remove no need

* goctl add jwt support

* goctl add jwt support

* goctl add jwt support

* goctl support import

* goctl support import

* rename

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
Keson a5ce2c448e
fix bug: module parse error (#97) 4 years ago
kevin 0dd8e27557 add more clear error when rpc service is not started 4 years ago
Zhang Hao 17a0908a84
add test (#95) 4 years ago
Keson 9f9c24cce9
fix bug: release empty struct limit (#96) 4 years ago
kingxt b628bc0086
goctl support import api file (#94)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* update doc

* remove update

* remove no need

* remove no need

* goctl add jwt support

* goctl add jwt support

* goctl add jwt support

* goctl support import

* goctl support import

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kevin be9c48da7f add tracing logs in server side and client side 4 years ago
kevin 797a90ae7d remove unnecessary tag 4 years ago
kevin 92e60a5777 use options instead of opts in error message 4 years ago
miaogaolin 46995a4d7d
修改不能编辑代码注释 (#92)
* rename file and function name

* update comments of "code generate"
4 years ago
kingxt 5e6dcac734
feature: goctl jwt (#91)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* update doc

* remove update

* remove no need

* remove no need

* goctl add jwt support

* goctl add jwt support

* goctl add jwt support

* goctl add jwt support

* goctl add jwt support

* goctl add jwt support

* goctl add jwt support

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
dylanNew 3e7e466526
fix redis error (#88)
Co-authored-by: dylan <wangdi@xiaoheiban.cn>
4 years ago
kingxt b6b8941a18
update doc (#90)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* update doc

* remove update

* remove no need

* remove no need

* update jwt doc

* update jwt doc

* update jwt doc

* update jwt doc

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kingxt 878fd14739
remove no need (#87)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* update doc

* remove update

* remove no need

* remove no need

* add jwt doc

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kevin 5e99f2b85d add trace/span in http logs 4 years ago
Howie 9c23399c33
chore: fix typos (#85)
* chore: fix typos

Signed-off-by: lihaowei <haoweili35@gmail.com>

* chore: fix 2 typos
4 years ago
kevin 86d3de4c89 use package level defined contextKey as context key 4 years ago
kevin dc17855367 printing context key friendly 4 years ago
kevin 1606a92c6e use contextType as string type 4 years ago
mlboy 029fd3ea35
fix: golint: context.WithValue should should not use basic type as key (#83)
* fix: golint: context.WithValue should should not use basic type as key

* optimiz
4 years ago
kevin 57299a7597 rename ngin to rest in goctl 4 years ago
Changkun Ou 762af9dda2
optimize AtomicError (#82)
This commit optimize AtomicError using atomic.Value. Benchmarks:

name               old time/op  new time/op  delta
AtomicError/Load-6   305ns ±11%    12ns ± 6%  -96.18%  (p=0.000 n=10+10)
AtomicError/Set-6   314ns ±16%    14ns ± 2%  -95.61%  (p=0.000 n=10+9)
4 years ago
kevin eccfaba614 update doc 4 years ago
kevin 974c19d6d3 update rpc example 4 years ago
Zhang Hao 0f8140031a
fix rpc client examle (#81) 4 years ago
kevin 0b1ee79d3a rename rpcx to zrpc 4 years ago
Zhang Hao 26e16107ce
fix example tracing edge config (#76) 4 years ago
kevin 1e5e9d63bd update wechat qrcode 4 years ago
kevin f994e1df1a add more tests 4 years ago
kevin b5dcadda78 remove markdown linter temporarily 4 years ago