go-api-server:使用golang制作一个宁静的api服务器

上传者: 42175035 | 上传时间: 2023-01-21 15:15:24 | 文件大小: 41KB | 文件类型: ZIP
go-api-server Use golang to make a restful api server Skills golang restful api gin swagger nginx Viper (Go configuration with fangs) gorm (Go ORM lib) JWT HTTPS cURL -X/--request [GET|POST|PUT|DELETE|…] 指定请求的 HTTP 方法 -H/--header 指定请求的 HTTP Header -d/--data 指定请求的 HTTP 消息体(Body) -v/--verbose 输出详细的返回信息 -u/--user

文件下载

资源详情

[{"title":"( 42 个子文件 41KB ) go-api-server:使用golang制作一个宁静的api服务器","children":[{"title":"go-api-server-master","children":[{"title":".gitignore <span style='color:#111;'> 211B </span>","children":null,"spread":false},{"title":"handler","children":[{"title":"sd","children":[{"title":"check.go <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false}],"spread":true},{"title":"user","children":[{"title":"get.go <span style='color:#111;'> 777B </span>","children":null,"spread":false},{"title":"user.go <span style='color:#111;'> 606B </span>","children":null,"spread":false},{"title":"list.go <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"update.go <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"create.go <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"login.go <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"delete.go <span style='color:#111;'> 669B </span>","children":null,"spread":false}],"spread":true},{"title":"handler.go <span style='color:#111;'> 462B </span>","children":null,"spread":false}],"spread":true},{"title":"Makefile <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"model","children":[{"title":"model.go <span style='color:#111;'> 730B </span>","children":null,"spread":false},{"title":"init.go <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"user.go <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false}],"spread":true},{"title":"pkg","children":[{"title":"version","children":[{"title":"version.go <span style='color:#111;'> 787B </span>","children":null,"spread":false},{"title":"doc.go <span style='color:#111;'> 16B </span>","children":null,"spread":false},{"title":"base.go <span style='color:#111;'> 363B </span>","children":null,"spread":false}],"spread":true},{"title":"token","children":[{"title":"token.go <span style='color:#111;'> 2.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"auth","children":[{"title":"auth.go <span style='color:#111;'> 479B </span>","children":null,"spread":false}],"spread":true},{"title":"constvar","children":[{"title":"constvar.go <span style='color:#111;'> 47B </span>","children":null,"spread":false}],"spread":true},{"title":"errno","children":[{"title":"errno.go <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"code.go <span style='color:#111;'> 887B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"util","children":[{"title":"cpu.profile <span style='color:#111;'> 4.56KB </span>","children":null,"spread":false},{"title":"util_test.go <span style='color:#111;'> 587B </span>","children":null,"spread":false},{"title":"util.go <span style='color:#111;'> 320B </span>","children":null,"spread":false}],"spread":true},{"title":"admin.sh <span style='color:#111;'> 978B </span>","children":null,"spread":false},{"title":"main.go <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 5.01KB </span>","children":null,"spread":false},{"title":"db.sql <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"service","children":[{"title":"service.go <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"config","children":[{"title":"config.go <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false}],"spread":true},{"title":"router","children":[{"title":"middleware","children":[{"title":"header.go <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"auth.go <span style='color:#111;'> 392B </span>","children":null,"spread":false},{"title":"logging.go <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"requestid.go <span style='color:#111;'> 545B </span>","children":null,"spread":false}],"spread":false},{"title":"router.go <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false}],"spread":true},{"title":"conf","children":[{"title":"server.key <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"server.crt <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"config.yaml <span style='color:#111;'> 782B </span>","children":null,"spread":false}],"spread":false},{"title":"docs","children":[{"title":"docs.go <span style='color:#111;'> 13.31KB </span>","children":null,"spread":false},{"title":"swagger","children":[{"title":"swagger.yaml <span style='color:#111;'> 6.53KB </span>","children":null,"spread":false},{"title":"swagger.json <span style='color:#111;'> 13.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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