{"id":26363344,"url":"https://github.com/zlican/11_18_vmanagent","last_synced_at":"2026-02-02T03:35:45.574Z","repository":{"id":275633803,"uuid":"926715156","full_name":"zlican/11_18_vmanagent","owner":"zlican","description":"11_18_vmanagent 是一个基于 Go 和 Gin 框架的后端项目，旨在提供虚拟机管理的相关功能。该项目包含了基本的路由配置和跨域资源共享（CORS）设置。","archived":false,"fork":false,"pushed_at":"2025-02-05T10:33:43.000Z","size":154,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-25T22:43:20.234Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zlican.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-03T18:31:22.000Z","updated_at":"2025-02-05T10:34:06.000Z","dependencies_parsed_at":"2025-02-05T11:30:14.085Z","dependency_job_id":null,"html_url":"https://github.com/zlican/11_18_vmanagent","commit_stats":null,"previous_names":["zlican/varehouse_management","zlican/11_18_vmanagent"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zlican/11_18_vmanagent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlican%2F11_18_vmanagent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlican%2F11_18_vmanagent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlican%2F11_18_vmanagent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlican%2F11_18_vmanagent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zlican","download_url":"https://codeload.github.com/zlican/11_18_vmanagent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlican%2F11_18_vmanagent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29003229,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T01:32:03.847Z","status":"online","status_checked_at":"2026-02-02T02:00:07.448Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-16T18:27:32.591Z","updated_at":"2026-02-02T03:35:45.544Z","avatar_url":"https://github.com/zlican.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 11_18_vmanagent\n\n## 项目简介\n\n11_18_vmanagent 是一个基于 Go 和 Gin 框架的后端项目，旨在提供虚拟机管理的相关功能。该项目包含了基本的路由配置和跨域资源共享（CORS）设置。\n\n## 功能\n\n- 基于 Gin 框架的高性能 HTTP 服务器\n- 支持跨域请求（CORS）\n- 提供 RESTful API 接口\n- 支持 GET, POST, PUT, DELETE, OPTIONS 请求方法\n\n## 目录结构\n\n```\n/d:/golang/goproject/src/11_18_vmanagent/\n├── vmbackend/\n│   ├── main.go        # 主程序入口\n│   ├── router/\n│   │   └── router.go  # 路由配置\n│   ├── controller/    # 控制器\n│   ├── service/       # 服务层\n│   ├── model/         # 数据模型\n│   ├── middleware/    # 中间件\n│   └── config/        # 配置文件\n├── frontend/          # 前端代码\n│   ├── public/        # 静态资源\n│   ├── src/\n│   │   ├── assets/    # 资源文件\n│   │   ├── components/# 组件\n│   │   ├── views/     # 视图\n│   │   ├── router/    # 前端路由\n│   │   └── store/     # 状态管理\n└── README.md          # 项目说明文件\n```\n\n## 安装\n\n1. 确保已安装 Go 语言环境（版本 1.16 及以上）。\n2. 获取项目代码：\n   ```sh\n   git clone https://github.com/yourusername/vmbackend.git\n   ```\n3. 进入项目目录：\n   ```sh\n   cd /d:/golang/goproject/src/11_18_vmanagent/vmbackend\n   ```\n4. 安装依赖：\n   ```sh\n   go mod tidy\n   ```\n\n## 运行\n\n1. 在项目根目录下运行以下命令启动服务：\n   ```sh\n   go run main.go\n   ```\n2. 服务启动后，默认监听在 `http://localhost:8000`。\n\n## 使用\n\n可以使用 Postman 或 curl 等工具测试 API 接口。例如：\n\n```sh\ncurl -X GET http://localhost:8000/your-endpoint\n```\n\n## 贡献\n\n欢迎提交 issue 和 pull request 来帮助改进项目。\n\n## 许可证\n\n此项目使用 MIT 许可证。详情请参阅 LICENSE 文件。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzlican%2F11_18_vmanagent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzlican%2F11_18_vmanagent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzlican%2F11_18_vmanagent/lists"}