mirror of
https://github.com/e1732a364fed/v2ray_simple.git
synced 2025-10-06 17:27:05 +08:00
添加readv功能;给出测试数据;修订代码,注释;
toml 新增 app.noreadv项,命令行参数新增 -readv 默认readv是打开状态,可以选择性关闭。
This commit is contained in:
@@ -1,2 +1,9 @@
|
||||
// Package utils provides utils that needed by all packages of verysimle
|
||||
package utils
|
||||
|
||||
//具体实现见 readv_*.go
|
||||
type MultiReader interface {
|
||||
Init([][]byte)
|
||||
Read(fd uintptr) int32
|
||||
Clear()
|
||||
}
|
||||
|
Reference in New Issue
Block a user