Skip to content

Commit

Permalink
fix:revise the rpc structure and errno
Browse files Browse the repository at this point in the history
  • Loading branch information
FantasyRL committed Apr 18, 2024
1 parent b668df5 commit edc70f9
Show file tree
Hide file tree
Showing 90 changed files with 431 additions and 181 deletions.
50 changes: 28 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,27 @@ make build-all
进行rpc重构


目录树生成:
```bash
treer -e tree.txt -i "/.idea|.git|data/"
```

## Todo...

~~在idl中添加optional以优化response(done)~~

~~es管理日志(done)~~

将会改进comment缓存的逻辑(todo)

~~将会进行重构rpc以改进混沌的handler层(done)~~

将会更加贴合接口文档需求(doing)

~~将会添加双token(done)~~

gormopentracing,Snowflake(todo)

## 重构相关:
### 0324
花了一整天学习rpc、kitex-demo、tiktok(west-2 online)
Expand All @@ -40,33 +61,18 @@ make build-all
3. [rpc/user/handler.go](rpc/user/handler.go)接收请求,作为rpc服务器中的handler

### 0330
学了一下用shell自动运行命令(太好用了)
* 学了一下用shell自动运行命令(太好用了)

实现了双token:创建了两个hertz_jwt中间件,一个负责access,一个负责refresh,并添加一个用于get access by refresh的接口
* 实现了双token:创建了两个hertz_jwt中间件,一个负责access,一个负责refresh,并添加一个用于get access by refresh的接口

### 0416

在video服务接入es,并使用钩子自动上传([参考仓库链接](https://github.com/CocaineCong/eslogrus))

同时video服务展示了rpc架构下并发远程调用其他服务

目录树生成:
```bash
treer -e tree.txt -i "/.idea|.git|data/"
```

## Todo...

~~在idl中添加optional以优化response(done)~~
* 在video服务接入es,并使用钩子自动上传([参考仓库链接](https://github.com/CocaineCong/eslogrus))

~~es管理日志(done)~~
* 同时video服务展示了rpc架构下并发远程调用其他服务

将会改进comment缓存的逻辑(todo)
### 0417

~~将会进行重构rpc以改进混沌的handler层(done)~~

将会更加贴合接口文档需求(doing)

~~将会添加双token(done)~~
* workflow:golangci-lint+CodeQL

gormopentracing,Snowflake(todo)
* quick start
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
Loading

0 comments on commit edc70f9

Please sign in to comment.