- 授权协议: MIT
- 开发语言: Google Go
- 操作系统: 跨平台
- 软件首页: https://github.com/go-zoo/bone
- 软件文档: https://github.com/go-zoo/bone
软件介绍
Bone 是一个轻量级、非常快速的 HTTP 多路复用器,支持 URL 变量、HTTP 方法声明和自定义 NotFound 处理器。
Speed
- BenchmarkBoneMux 10000000 118 ns/op - BenchmarkZeusMux 100000 54813 ns/op - BenchmarkHttpRouterMux 10000000 143 ns/op - BenchmarkNetHttpMux 3000000 548 ns/op - BenchmarkGorillaMux 300000 3333 ns/op - BenchmarkGorillaPatMux 1000000 1889 ns/op
[ These test are just for fun, all these router are great and really efficient. ]
Example
package main
import(
"net/http"
"github.com/squiidz/bone"
)
func main () {
mux := bone.New()
// Method takes http.HandlerFunc
mux.Get("/home/:id", HomeHandler)
mux.Post("/data", DataHandler)
// Handle take http.Handler
mux.Handle("/", http.HandlerFunc(RootHandler))
http.ListenAndServe(":8080", mux)
}
国际大学生程序设计竞赛例题解
郭嵩山 / 电子工业出版社 / 2006-5 / 32.0
《国际大学生程序设计竞赛例题解1:数论、计算几何、搜索算法专集》可以作为高等院校有关专业的研究生和本科学生参加国际大学生程序设计竞赛的辅导教材,也可作为高等院校有关专业相关课程的教材和教学参考书,也比较适合作为中学青少年信息学奥林匹克竞赛省级及省级以上优秀选手备战信息学奥林匹克竞赛的培训教材及训练题集。一起来看看 《国际大学生程序设计竞赛例题解》 这本书的介绍吧!

