Commit Graph

908 Commits (f6d9e19ecba691b3601d8039ba7f8bb943f8d118)
 

Author SHA1 Message Date
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
kevin a8fb010333 drain pipe if reducer not drained 4 years ago
zhoushuguang 8cc09244a0
Metric (#65)
* doc for service metric

* doc for service metric

* doc for service metric

* doc for service metric

Co-authored-by: zhoushuguang <zhoushuguang@xiaoheiban.cn>
4 years ago
Sergey Cheung 21e811887c
Markdown lint (#58)
* markdown linter

* format markdown docs

* format exiting markdown docs
4 years ago
kevin 7f0ec14704 update goctl makefile 4 years ago
Keson d12e9fa2d7
add model&rpc doc (#62) 4 years ago
miaogaolin ce5961a7d0
fix goctl model (#61) 4 years ago
kingxt e1d942a799
update doc (#64)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* update doc

* update doc

* remove update

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kingxt 754e631dc4
update quick start (#63)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* update doc

* update readme.md

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kevin 72aeac3fa9 add in-process cache doc 4 years ago
kingxt 1c3c8f4bbc
add fast create api demo service (#59)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* add fast create api demo: goctl api new

* refactor

* refactor

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
Keson 17e6cfb7a9
quickly generating rpc demo service (#60)
* add execute files

* add protoc-osx

* add rpc generation

* add rpc generation

* add: rpc template generation

* add README.md

* format error

* reactor templatex.go

* update project.go & README.md

* add: quickly generate rpc service
4 years ago
kevin 0d151c17f8 update wechat image 4 years ago
miaogaolin 52990550fb
fix GOMOD env fetch bug (#55) 4 years ago
zhoushuguang 3a9b9ceace
add (#54)
Co-authored-by: zhoushuguang <zhoushuguang@xiaoheiban.cn>
4 years ago
bittoy 3128d63134
fix goctl model path (#53) 4 years ago
kingxt 4408767981
fix command run path bug (#52)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* optimized go path logic

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kevin ff7c14c6b6 make chinese readme as default 4 years ago
kevin 520f4d7c1b update readme to add mapreduce link 4 years ago
zhoushuguang 0e674933f3
add mr tool doc (#50)
Co-authored-by: zhoushuguang <zhoushuguang@xiaoheiban.cn>
4 years ago
kingxt 1d12f20ff6
refactor (#49)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* refactor gomod module logic

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kingxt 2b815162f6
refactor (#48)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* refactor gomod module logic

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kingxt 1602f6ce81
refactor gomod logic (#47)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* refactor gomod module logic

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago