api:使用Go编写的RESTful API for Chiefsend

时间:2021-04-06 01:48:11
【文件属性】:
文件名称:api:使用Go编写的RESTful API for Chiefsend
文件大小:24KB
文件格式:ZIP
更新时间:2021-04-06 01:48:11
go golang rest-api http-server Go ChiefSend API Go语言编写的RESTful API for ChiefSend 应用架构 Redis用于临时存储后台作业队列(请自行设置) 数据库:存储有关共享的信息(请自行设置) SendGrid :自动发送包含共享的电子邮件(请自行设置) 媒体存储:只是文件系统中具有以下结构的文件夹: ./media/ ├── prod # shared files in production │   ├── data │   └── temp └── test # files from the test environment ├── data └── temp API服务器:接收并处理所有HTTP请求 后台作业工作者:从API服务器开始 环境变量: PORT :api侦听的端口(例如:6969)。 DATABASE_URI :dsn字符串,包含有关数
【文件预览】:
api-main
----go.mod(919B)
----main.go(2KB)
----services()
--------mail.go(1KB)
----models()
--------share.go(2KB)
--------attachment.go(813B)
--------util.go(771B)
----go.sum(24KB)
----swagger.yaml(5KB)
----controllers()
--------api_test.go(9KB)
--------api.go(10KB)
----README.md(3KB)
----background()
--------tasks.go(1KB)
--------tasks_test.go(897B)
--------worker.go(418B)
----.gitignore(384B)

网友评论