actix-sqlx-boilerplate:使用SQLx的简单Actix-web样板-源码

上传者: 42109639 | 上传时间: 2021-06-28 15:44:11 | 文件大小: 22KB | 文件类型: ZIP
actix-sqlx-样板 使用SQLx的简单Actix-web样板 路线 网页 [GET] /health-check :检查服务器http GET localhost:8089/health-check 响应码200 原料药 [POST] /v1/login :身份验证 http POST localhost:8089/v1/login email=test@gmail.com password=0000 响应码200 : { " id " : " 123e4567-e89b-12d3-a456-426614174000 " , " email " : " test@gmail.com " , " expires_at " : " 2021-03-08T21:23:21Z " , " firstname " : " Toto " , " la

文件下载

资源详情

[{"title":"( 30 个子文件 22KB ) actix-sqlx-boilerplate:使用SQLx的简单Actix-web样板-源码","children":[{"title":"actix-sqlx-boilerplate-main","children":[{"title":"drill.yml <span style='color:#111;'> 334B </span>","children":null,"spread":false},{"title":"rustfmt.toml <span style='color:#111;'> 16B </span>","children":null,"spread":false},{"title":".env.dist <span style='color:#111;'> 282B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"models","children":[{"title":"mod.rs <span style='color:#111;'> 52B </span>","children":null,"spread":false},{"title":"auth.rs <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"user.rs <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"handlers","children":[{"title":"mod.rs <span style='color:#111;'> 107B </span>","children":null,"spread":false},{"title":"web.rs <span style='color:#111;'> 237B </span>","children":null,"spread":false},{"title":"users.rs <span style='color:#111;'> 4.34KB </span>","children":null,"spread":false},{"title":"ws.rs <span style='color:#111;'> 431B </span>","children":null,"spread":false},{"title":"errors.rs <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"ws","children":[{"title":"mod.rs <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false}],"spread":true},{"title":"main.rs <span style='color:#111;'> 783B </span>","children":null,"spread":false},{"title":"config.rs <span style='color:#111;'> 744B </span>","children":null,"spread":false},{"title":"routes.rs <span style='color:#111;'> 988B </span>","children":null,"spread":false},{"title":"repositories","children":[{"title":"mod.rs <span style='color:#111;'> 39B </span>","children":null,"spread":false},{"title":"user.rs <span style='color:#111;'> 4.65KB </span>","children":null,"spread":false}],"spread":true},{"title":"lib.rs <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"logger.rs <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"errors.rs <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"middlewares","children":[{"title":"mod.rs <span style='color:#111;'> 73B </span>","children":null,"spread":false},{"title":"auth.rs <span style='color:#111;'> 3.81KB </span>","children":null,"spread":false},{"title":"request_id.rs <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"timer.rs <span style='color:#111;'> 2.48KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"migrations","children":[{"title":"20210304173344_create_users_table.down.sql <span style='color:#111;'> 63B </span>","children":null,"spread":false},{"title":"20210304173344_create_users_table.up.sql <span style='color:#111;'> 894B </span>","children":null,"spread":false}],"spread":true},{"title":"askama.toml <span style='color:#111;'> 98B </span>","children":null,"spread":false},{"title":"Cargo.toml <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 384B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 6.55KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明