没有合适的资源?快使用搜索试试~ 我知道了~
serverless-api-example:Golang,无服务器API的示例
共27个文件
go:13个
json:4个
yml:2个
需积分: 10 0 下载量 89 浏览量
2021-02-05
20:22:29
上传
评论
收藏 4.9MB ZIP 举报
温馨提示
无服务器API示例-Golang 请在此处撰写://需要包括 建筑 此回购宽松地遵循Bob叔叔的干净架构。 存储库本身将与特定域相关的功能分组到其自己的程序包中。 在这种情况下,/ users。 交付层包括http,因此您可以将此回购作为标准Web服务器运行。 或作为Lambda路由器。 业务逻辑是作为用例编写的,并且我们包括数据层的存储库。 跑步 本地 如果要使用纯http服务器在本地运行它,请执行以下命令: $ make run-local // port 8005 $ curl localhost:8005 无服务器 通过CloudFormation应用。 这是为Lambda函
资源推荐
资源详情
资源评论
收起资源包目录
serverless-api-example-master.zip (27个子文件)
serverless-api-example-master
pkg
helpers
router.go 1KB
handlers.go 837B
cmd
server
main.go 339B
package.json 292B
infrastructure
datastore.yml 811B
gomod.sh 241B
makefile 355B
users
usecase_test.go 2KB
service.go 1KB
entity.go 426B
deliveries
lambda
integration_test.go 3KB
main.go 2KB
http
routes.go 3KB
logger_adapter.go 2KB
usecase.go 2KB
mock_usecase.go 3KB
dynamodb_repository.go 3KB
serverless.yml 717B
.gitignore 22B
go.sum 8KB
README.md 920B
yarn.lock 45KB
.serverless
serverless-api-example.zip 4.88MB
cloudformation-template-create-stack.json 627B
serverless-state.json 20KB
cloudformation-template-update-stack.json 13KB
go.mod 1KB
共 27 条
- 1
资源评论
高晖云
- 粉丝: 19
- 资源: 4621
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功