Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

中间件 日志处理 ,异常报警 ,接口限流设置 超时控制 中间件注册 #8

Open
lc-1010 opened this issue Jun 21, 2023 · 0 comments

Comments

@lc-1010
Copy link
Owner

lc-1010 commented Jun 21, 2023

  • 日志处理
  • 异常报警
  • 接口限流设置
  • 超时控制
  • 中间件注册
@lc-1010 lc-1010 reopened this Jun 28, 2023
lc-1010 added a commit that referenced this issue Jun 29, 2023
- Added rate limiting middleware to limit API requests
- Implemented exception handling middleware to catch and log errors and send email

#8
@lc-1010 lc-1010 changed the title Recovery 中间件 中间件 日志处理 ,异常报警 ,接口限流设置 超时控制 中间件注册 Jun 29, 2023
lc-1010 added a commit that referenced this issue Jun 30, 2023
This commit adds a middleware named ContextTimeout for setting timeout controls when making downstream API calls.  i also write corresponding test cases to ensure the middleware works properly.

In addition ,we add a codecov.io badge to show the coverage of the project ,which helps other developers understand the testing situation of the project .
refs #15,#8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant