-
-
欢迎熟悉kratos的朋友,帮忙完成dtm的kratos支持
文档:https://dtm.pub/ref/proto.html
示例:https://github.com/dtm-labs/dtmdriver-gozero
项目:https://github.com/dtm-labs/dtmdriver-kratos
yedf2 updated
2 years ago
-
**Describe the bug**
The code here is the API side, you can see, If empty slice returns json, it will become null.
![image](https://user-images.githubusercontent.com/51091135/170829759-7cb113f1-b711…
-
**Is your feature request related to a problem? Please describe.**
api file:
```
type (
Sex int `json:"sex,options=0|1"` //tag `options` is invalid
Name string `json:"name,options=0|1…
-
```
$ goctl.exe -v
goctl.exe version 1.1.6 windows/amd64
```
开发的组件会代理任何能够匹配“/abc”前缀的请求到另一个外部服务,如果要换成gozero框架能实现么?试了下似乎不支持一对多的路由规则的,是因为我的版本太旧了么?新版本支持的prefix能实现么?
recently I am trying to replac…
-
##### Bug Report or Feature Request (mark with an `x`)
```
- [ ] Regression (a behavior that used to work and stopped working in a new release)
- [x] Bug report -> please search issues before submi…
-
docker是虚拟机,内部搭建consul/dtm服务 虚拟机ip 192.168.38.128 两个服务都是开启并可用的
grpc服务器在本地 192.168.0.112:8001 这个服务是一定可用的
配置中心 配置
MicroService:
Driver: 'dtm-driver-gozero' #
Target: 'consul://192.168.38.12…
-
# Question
请问在设计上,哪些logic要放在api,哪些logic要放在rpc呢?
以`travel api`为例,
1. 对于其他路径, 处理逻辑都是自己读db或计算
2. 对于`/homestayDetail`路径,它会转发给`travel rpc`处理,然后`travel rpc`会读db
我比较疑惑的是处理逻辑放在api还是rpc是怎么考虑的呢?
…
wymli updated
2 years ago
-
I use the following version
```sh
goctl.exe -v
goctl.exe version 1.2.4-cli windows/amd64
protoc --version
libprotoc 3.19.1
github.com/tal-tech/go-zero v1.2.4
google.golang.org/grpc v1.42.0
…
-
# Model optimization design manual
## Current state
- [ ] 1. For example, id can rely on mysql's auto_increment feature, and create_time and update_time can rely on `timestamp` to be generated a…