Commit Graph

330 Commits (8f465fa43982fd78e977edb4bb6144b1a466a35b)
 

Author SHA1 Message Date
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
kevin df37597ac3 simplify mapreduce code 4 years ago
miaogaolin 68335ada54
rename file and function name (#74) 4 years ago
bittoy ecdae2477e
add mapping readme (#75) 4 years ago
kevin a561884fcf print message when starting api server 4 years ago
kevin a50bcb90a6 rename function 4 years ago
Keson e6f8e0e8c3
optimize: api generating for idea plugin (#68)
* add flag: force to generate api

* add flag: force to generate api

* format api template

* Revert "format api template"
4 years ago
kingxt 598ff6d0fc
api support empty request or empty response (#72)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* update doc

* remove update

* api support empty request or empty response

* update readme

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
miaogaolin 9a57993e83
fix goctl api (#71) 4 years ago
kingxt ee45b0a459
optimize route parse (#70)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* update doc

* remove update

* optimized route parser

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
masonchen2014 2896ef1a49
Sharedcalls.md (#69)
* sharedcalls.md

* markdownlint

Co-authored-by: chenmusheng <chenmusheng@laoyuegou.com>
4 years ago
kingxt 05df86436f
optimized api new with absolute path like: goctl api new $PWD/xxxx (#67)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* update doc

* remove update

* optimized api new with absolute path like: goctl api new $PWD/xxxx

* optimized api new with absolute path like: goctl api new $PWD/xxxx

* optimized api new with absolute path like: goctl api new $PWD/xxxx

* optimized api new with absolute path like: goctl api new $PWD/xxxx

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kevin fb22589cf5 update doc, add metric link 4 years ago