Skip to content

仿百度云盘后端api服务,分别使用httprouter和gin实现了两版

Notifications You must be signed in to change notification settings

lilhammer111/hammer-cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hammer-cloud

项目介绍

hammer-cloud,又名锤子云盘,是一个以学习为目的的go web项目,实现了httprouter和gin框架两版,主要技术用到了阿里云的oss对象存储服务,朴实无华的CRUD。

项目演示

暂无

组织架构

.
├── cache  // redis缓存
├── common // 常量
├── config // OSS和rabbitmq相关配置
├── db // mysql数据库连接与接口
├── doc // sql 建表语句
├── go.mod 
├── go.sum
├── handler // 业务逻辑处理函数
├── meta // 文件源数据
├── middleware // 鉴权中间件
├── mq // rabbitmq
├── README.md
├── service // 路由及主入口函数
├── static // 静态文件
├── store // 对象存储接口
├── test 
└── util // 加密及通用响应

技术选型

技术 说明 官网
gin go web应用开发框架 https://gin-gonic.com/
mysql 关系型数据库 https://dev.mysql.com/doc/refman/8.0/en/
redis 内存数据存储 https://redis.uptrace.dev/guide/
OSS 对象存储服务 https://www.alibabacloud.com/zh/product/object-storage-service

架构图

紧急生产中。。。

环境搭建

紧急搭建中。。。

许可证

紧急许可中。。。

About

仿百度云盘后端api服务,分别使用httprouter和gin实现了两版

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published