BoneHTTP 多路复用器
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) }
评论
sila终端多路复用器
sila是使用Rust编写的简易终端多路复用器,通过YAML格式的配置文件配置项目。sila发音为 [shila],在巴利语中代表「道德」。基本用法>helplistListthetermina
sila终端多路复用器
0
Zellij终端多路复用器
Zellij是一个终端工作区。它具有终端多路复用器的基本功能(类似于tmux或 screen),但包含许多内置功能,允许用户对其进行扩展并创建自己的个性化环境。像其他多路复用器一样,Zellij允许用
Zellij终端多路复用器
0
WezTerm跨平台终端模拟器和多路复用器
WezTerm是一个GPU加速的跨平台终端模拟器和多路复用器,由 @wez 编写,用Rust实现。特性:在Linux、macOS、Windows10和FreeBSD上运行本地和远程主机上的多路终端窗格
WezTerm跨平台终端模拟器和多路复用器
0