Skip to content

分离网关切换和 DNS 功能,优化用户体验 #2

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

Merged
merged 2 commits into from
Mar 21, 2025
Merged

分离网关切换和 DNS 功能,优化用户体验 #2

merged 2 commits into from
Mar 21, 2025

Conversation

ourines
Copy link
Owner

@ourines ourines commented Mar 21, 2025

更改内容\n\n1. 将网关切换功能与 DNS 服务完全分离,每个命令只负责一项功能\n - proxy 命令只负责切换到代理网关\n - default 命令只负责切换到默认网关\n - dns start 命令单独管理 DNS 服务\n\n2. 从配置中移除 enabled 字段,简化配置结构\n - 移除 DNS 配置中不必要的 enabled 字段\n - 调整相关代码以适应新的配置结构\n\n3. 更新 README 文档\n - 清晰说明网关切换与 DNS 服务的独立设计\n - 添加关于如何组合使用这些命令的指导\n\n## 改进原因\n\n- 单一职责原则:每个命令只做一件事,更符合良好的软件设计原则\n- 更灵活的使用方式:用户可以根据自己的需求组合使用这些功能\n- 更清晰的用户体验:用户明确知道每个命令的功能\n- 配置简化:移除不必要的配置项

@ourines ourines merged commit 310728d into main Mar 21, 2025
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

Successfully merging this pull request may close these issues.

1 participant