mirror of
https://github.com/e1732a364fed/v2ray_simple.git
synced 2025-10-16 13:50:51 +08:00
完善对writev的支持;为vless和ws实现MultiWriter;修订代码
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
// Package utils provides utils that needed by all sub-packages in verysimle
|
||||
package utils
|
||||
|
||||
//具体实现见 readv_*.go; 用 GetReadVReader() 函数来获取本平台的对应实现。
|
||||
type MultiReader interface {
|
||||
Init([][]byte)
|
||||
Read(fd uintptr) int32
|
||||
Clear()
|
||||
}
|
Reference in New Issue
Block a user