mygin

command module
v0.0.0-...-11fc6bb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2019 License: GPL-3.0 Imports: 15 Imported by: 0

README

mygin

The gin for api server basic framework

功能

  • 读取配置文件
  • 管理和记录日志
  • 做数据库的 CURD 操作
  • 自定义错误 Code
  • 读取和返回 HTTP 请求
  • 业务逻辑开发
  • 对请求插入自己的处理逻辑
  • 进行 API 身份验证
  • 进行 HTTPS 加密
  • 用 Makefile 管理 API 源码
  • 给 API 命令添加版本功能
  • 管理 API 命令
  • 生成 Swagger 在线文档

测试

  • 单元测试
  • 性能测试(函数性能)
  • 性能分析
  • API 性能测试和调优

部署

  • Nginx 部署 API 服务
  • API 高可用

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL