Categorygithub.com/textthree/cvgoweb
modulepackage
1.0.4
Repository: https://github.com/textthree/cvgoweb.git
Documentation: pkg.go.dev

# README

cvgoweb

Cvgo Web Framework

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
初始化前缀分组.

# Constants

No description provided by the author

# Structs

实现标准库的 Context 基本现在所有第三方库函数都会根据官方的建议将第一个参数设置为标准 Context 接口, 所以定制一个自己的 context 很有用,这里将 request 和 response 封装到 context, 这样就可以在整条请求链路中随时处理输入输出.
框架核心结构体.
No description provided by the author
No description provided by the author
实现了 IGroup,按前缀分组.
No description provided by the author
No description provided by the author

# Interfaces

IGroup 路由分组接口.
为请求封装方法,在 Context 上实现接口 统一返回值中的 bool 代表请求方是否有传递这个数据过来.
为响应封装方法 方法返回 IResponse 本身代表支持链式调用,例如:res.SetOkStatus().Json("success").

# Type aliases

No description provided by the author
No description provided by the author