Files
gf/README.MD

48 lines
2.0 KiB
Plaintext
Raw Normal View History

## 安装
2017-11-22 16:39:21 +08:00
```
2017-11-23 10:29:50 +08:00
go get -u gitee.com/johng/gf
2017-12-31 14:44:48 +08:00
```
2017-11-22 16:39:21 +08:00
## 使用
2017-11-23 10:23:23 +08:00
```go
2018-01-05 17:45:16 +08:00
package main
2017-12-31 15:13:35 +08:00
2018-01-05 17:45:16 +08:00
import "gitee.com/johng/gf/g/net/ghttp"
2017-12-31 15:13:35 +08:00
2018-01-05 17:45:16 +08:00
func main() {
ghttp.GetServer().BindHandler("/", func(r *ghttp.Request){
r.Response.WriteString("Hello World!")
})
2018-01-05 17:47:48 +08:00
ghttp.GetServer().Run()
2018-01-04 11:59:35 +08:00
}
```
2018-01-05 17:45:16 +08:00
## 文档
2018-01-05 23:45:07 +08:00
* [框架介绍](https://www.kancloud.cn/johng/gf/494364)
* [Web服务开发](https://www.kancloud.cn/johng/gf/494647)
* [WebServer](https://www.kancloud.cn/johng/gf/494366)
* [MVC模式](https://www.kancloud.cn/johng/gf/494367)
* [服务注册](https://www.kancloud.cn/johng/gf/494368)
* [Cookie](https://www.kancloud.cn/johng/gf/494372)
* [Session](https://www.kancloud.cn/johng/gf/494373)
* [输入输出](https://www.kancloud.cn/johng/gf/494374)
* [路由控制](https://www.kancloud.cn/johng/gf/49437)
* [配置管理](https://www.kancloud.cn/johng/gf/494376)
* [单例管理](https://www.kancloud.cn/johng/gf/494377)
* [数据校验](https://www.kancloud.cn/johng/gf/494378)
* [模板引擎](https://www.kancloud.cn/johng/gf/494379)
* [数据库操作](https://www.kancloud.cn/johng/gf/494380)
* [网络服务开发](https://www.kancloud.cn/johng/gf/494648)
* [TCPServer](https://www.kancloud.cn/johng/gf/494382)
* [UDPServer](https://www.kancloud.cn/johng/gf/494383)
* [功能模块设计](https://www.kancloud.cn/johng/gf/494384)
* [缓存模块](https://www.kancloud.cn/johng/gf/494384)
* [日志模块](https://www.kancloud.cn/johng/gf/494384)
* [时间模块](https://www.kancloud.cn/johng/gf/494384)
* [JSON模块](https://www.kancloud.cn/johng/gf/494384)
* [命令行模块](https://www.kancloud.cn/johng/gf/494384)
* [环境变量模块](https://www.kancloud.cn/johng/gf/494384)
* [文件管理模块](https://www.kancloud.cn/johng/gf/494384)
* [并发安全容器](https://www.kancloud.cn/johng/gf/494384)
* [通用编码模块](https://www.kancloud.cn/johng/gf/494384)
* [其他模块介绍](https://www.kancloud.cn/johng/gf/494384)