Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

tarnishedxx/axisapi

Repository files navigation

axisapi

axisapi:是一个防Gin的Go Web框架,设计思想参照开源Web 框架Gin,体量较小只有400多行代码

axisapi 主要实现了一下功能

  • 采用前缀树算法实现动态路由
  • 请求上下文处理模式
  • 分组路由控制功能
  • 默认定义了日志处理和错误处理中间件,用户也可以设置服务自身业务需求的中间件
  • 可响应json,data,string,html格式的数据
  • 支持POST
  • 支持GET

不足之处

  • 处理前端除x-www-form-urlencoded格式以外的数据
  • 模板功能
  • 支持HEAD
  • 支持PUT
  • 支持DELETE
  • 支持CONNECT
  • 支持OPTIONS
  • 支持TRACE
  • 等等。。。(思考不全面,欢迎补充)

About

a web framework modeled after Gin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /