Skip to content

hequan2017/get

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go web framework

版本

开发者

  • 何全

特别感谢

在此 https://github.com/geektutu/7days-golang 项目上进行修改完成。

https://geektutu.com/post/gee.html

结构

  • context 上下文
  • router 路由
  • middleware 中间件

context

type Context struct {
	// origin objects
	Writer http.ResponseWriter
	Req    *http.Request
	// request info
	Path   string
	Method string
	Params map[string]string
	// response info
	StatusCode int
	// middleware
	handlers []HandlerFunc
	index    int
	// engine pointer
	engine *Engine
}

Releases

No releases published

Packages

No packages published

Languages