Files
xinfra/server/internal/handler/.gitkeep
T
wonder 1bd5921fd4 chore: 初始化项目骨架结构
- 创建前端 Vue3 项目目录结构(components、views、router、stores 等)
- 创建后端 Go 项目目录结构(cmd、internal、pkg 等分层架构)
- 创建部署配置目录(docker、k8s)
- 创建文档目录
- 添加 .gitignore 忽略规则
- 添加 Makefile 构建脚本
- 更新 README.md 项目说明文档
- 每个目录添加 .gitkeep 文件说明目录用途
2026-07-14 14:34:10 +08:00

9 lines
492 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# HTTP 处理器层(Controller)
存放请求处理器,负责接收请求、校验参数、调用 Service:
- auth.go: 认证处理器,处理登录/登出/用户信息请求
- audit.go: 审计处理器,处理登录审计/运维操作审计查询请求
- subsystem.go: 子系统处理器,处理子系统列表/SSO URL 生成请求
- task.go: 任务处理器,处理 Ansible 任务创建/状态查询请求
- response.go: 统一响应,定义标准 JSON 响应格式和错误码