1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-07 23:02:12 +02:00
Commit Graph

55 Commits

Author SHA1 Message Date
包子
c114f5c96b
fix proto-gen-go-errors bug (#1047) 2021-06-13 15:01:23 +08:00
Tony Chen
99719dd667
cmd: update cmd version (#1040)
* update cmd version

* update app info
2021-06-13 01:07:43 +08:00
Tony Chen
2729caeecf
http/binding: rename encode url (#1039)
* rename binding url
2021-06-13 00:56:01 +08:00
Tony Chen
eca0f35cb5
transport/http: add vars to http context (#1037)
* add vars to http context

* add query to http context

* remove http deps

* clean request decoder
2021-06-12 22:21:54 +08:00
包子
67c1e4584b
modify cmd/proto-gen-go-errors (#1035)
* modify cmd/proto-gen-go-errors
2021-06-12 19:15:02 +08:00
Tony Chen
1b13abd136
transport/http: add http route (#1029)
* add http route

* fix http context

* add HTTP middleware

Co-authored-by: longXboy <longxboyhi@gmail.com>
2021-06-12 18:30:17 +08:00
Tony Chen
828a7c5219
copy errors proto (#1030) 2021-06-11 17:49:29 +08:00
longxboy
736385c8e6
Feat/uni transport (#1028)
* add metadata incoming&outgoing

* regenerate proto

* uni transport

Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-06-11 15:05:57 +08:00
Tony Chen
05c2e16b9e
fix http rules empty (#1023) 2021-06-09 13:44:34 +08:00
Tony Chen
50e3dea2ee
fix errors proto (#1020) 2021-06-09 10:48:29 +08:00
包子
996922fa87
Clean errors (#1019)
* cmd/upgrade add proto-gen-go-errors
modify proto-gen-go-errors template and go.mod

* modify proto-gen-go-errors version and clean code
2021-06-08 19:29:29 +08:00
包子
7585257f9e
modify proto-gen-go-errors version and func name (#1018)
* modify proto-gen-go-errors version and func name
2021-06-08 16:53:08 +08:00
包子
0834128e57
add protoc-gen-errors (#1017)
* add protoc-gen-errors

* fix protoc-gen-go-errors/go.mod

* default_code handling

* Modify code value range
2021-06-08 16:33:50 +08:00
包子
02f9ea49c7
add cmd specify the version or branch #977 (#986)
* add cmd specify the version or branch
2021-06-01 18:07:39 +08:00
Michael Li
ad8f12c9fd
remove redundant statements in generated code template for protoc-gen-go-http (#976) 2021-06-01 00:21:56 +08:00
Richard
f51bd97324
chore: format import sort (#973)
Co-authored-by: quanlong <wangquanlong@joyme.sg>
2021-05-31 19:40:16 +08:00
Tony Chen
7dec80ccfd
fix error code and regenerate proto (#954)
* fix error code and regenerate proto
2021-05-26 20:05:34 +08:00
longxboy
eb958b2093
add path for rpc stub (#947)
* add path for rpc stub

* fix http body and response_body

Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-05-26 14:23:43 +08:00
longxboy
9a3a02fc68
add http client rpc stub (#943)
* add http client
2021-05-24 23:01:26 +08:00
Tony Chen
4d0770a6a2
fix http handler (#939) 2021-05-22 11:14:55 +08:00
Tony Chen
b9f821c29f
transport/http: add http handler (#937)
* add http handler

* fix request error
2021-05-21 23:11:36 +08:00
webliupeng
248d30f068
fix incorrect return type in service template (#935) 2021-05-20 17:44:01 +08:00
包子
6791cd665b
Modify cmd new project terminal output style (#908)
* Modify cmd new project terminal output style

* Modify kratos cmd create project handling abnormal situations

* Modify cmd new project terminal output style
2021-05-13 14:57:35 +08:00
包子
0e4a057027
modify kratos cmd new project (#907)
* Modifying the kratos cmd new project does not use the go git module, but uses the native git command
2021-05-12 22:33:26 +08:00
Tony Chen
eed0ac7d4a
add layout env (#897) 2021-05-06 19:52:18 +08:00
Tony Chen
2e4bb11f00
remove proto gopath (#896) 2021-05-06 16:45:49 +08:00
Tony Chen
eeab979d5f
remove errors generator (#892) 2021-05-02 00:00:44 +08:00
Joe
21d9ff2c39
refactor: format new.go (#885) 2021-04-29 18:45:20 +08:00
Tony Chen
d85f5e9ae1
encoding/json: fix nil value (#884)
* fix nil value
2021-04-29 15:49:44 +08:00
Cluas
e93da2468c
cmd: use structured path (#838) 2021-04-15 13:28:18 +08:00
Cluas
2ccf15a048
proto/add: avoid panic when using non-hierarchical path (#829) 2021-04-13 14:03:20 +08:00
Cluas
c086eb1147
proto/add: rename to export && remove unnecessary type conversion (#825) 2021-04-13 10:27:12 +08:00
Cluas
35d7b4113f
proto/client: print correct err (#826) 2021-04-13 10:22:12 +08:00
Tony Chen
af11512ee3
add protoc args (#821) 2021-04-12 21:36:26 +08:00
包子
afd2a6b19a
Modify the tool version number as beta3 (#813)
Modify the tool version number as beta3
2021-04-06 15:47:08 +08:00
包子
35d52295db
Modify the command line tool to specify a custom layout repo when creating a new project (#814) 2021-04-06 15:46:43 +08:00
Tony Chen
311a65367e
update kratos (#785) 2021-03-18 00:21:15 +08:00
Tony Chen
2b47dc4dfb
fix http templates (#783) 2021-03-17 20:27:16 +08:00
Tony Chen
f9522036da
api: update extension index (#775)
* update extension & regenerate proto
2021-03-17 00:00:30 +08:00
Tony Chen
a185916df6
cmd: update kratos version (#773)
* update kratos version
2021-03-16 23:38:18 +08:00
Windfarer
5546be9188
fix example (#755)
* fix example
2021-03-11 23:42:28 +08:00
宗川凉介
b80fdb878e
kratos工具版本号修改 (#759)
* fix toolkit version
2021-03-11 12:34:23 +08:00
libi
26cf7c80ad
fix discovery resolver watch goroutine leak (#750)
* fix discovery resolver watch goroutine leak
2021-03-06 18:06:20 +08:00
Tony Chen
f86c91849b
fix lint check (#746) 2021-03-05 22:40:38 +08:00
Tony Chen
946e9ca814
fix http decode (#742)
* fix http decoder
2021-03-05 18:52:39 +08:00
chenzhihui
b103c72192 update kratos 2021-03-03 22:31:32 +08:00
Tony Chen
496edc6fb1
Http/refactor register service (#734)
* refactor http handle
2021-03-03 22:22:59 +08:00
Windfarer
a500fe2f0d
Cmd use GOMODCACHE env (#733)
* use cache path
2021-03-02 23:02:13 +08:00
Tony Chen
204bf7be87
fix protoc check (#732) 2021-03-01 10:24:58 +08:00
chenzhihui
e10aa8ae75 fix unknown revision 2021-02-27 15:02:32 +08:00