Bxog是用于Go(HTTP请求多路复用器)的简单快速的HTTP路由器。-Golang开发

时间:2021-05-26 17:21:04
【文件属性】:
文件名称:Bxog是用于Go(HTTP请求多路复用器)的简单快速的HTTP路由器。-Golang开发
文件大小:11KB
文件格式:ZIP
更新时间:2021-05-26 17:21:04
Golang Web Frameworks Bxog是用于Go(HTTP请求多路复用器)的简单快速的HTTP路由器。 用法使用多路复用器的示例:包main import(“ io”“ net / http” bx“ github.com/claygod/Bxog”)//处理函数func IHandler(Bxog是用于Go的简单,快速的HTTP路由器( HTTP请求多路复用器)用法使用多路复用器的示例:包main import(“ io”“ net / http” bx“ github.com/claygod/Bxog”)//处理函数func IHandler(w http.ResponseWriter,req * http .Request,r * bx.Router){io.WriteString(w,“欢迎来到Bxog!”)} func THandler(w http.ResponseWriter,req * http.Request,r * bx.Router){params:= r。参数(req,“ / abc /:par”)io.WriteString(w,“参数:\ n”)io.WriteString(w,“'pa
【文件预览】:
Bxog-master
----cover.out(5KB)
----README.md(3KB)
----router.go(3KB)
----node.go(346B)
----index.go(5KB)
----route.go(2KB)
----config.go(1KB)
----section.go(328B)
----LICENSE.txt(2KB)
----server.go(519B)
----bxog_test.go(8KB)

网友评论