mirror of
https://github.com/SagerNet/sing.git
synced 2025-04-04 04:17:38 +03:00
14 lines
316 B
Go
14 lines
316 B
Go
package network
|
|
|
|
import (
|
|
"github.com/sagernet/sing/common/buf"
|
|
M "github.com/sagernet/sing/common/metadata"
|
|
)
|
|
|
|
type VectorisedWriter interface {
|
|
WriteVectorised(buffers []*buf.Buffer) error
|
|
}
|
|
|
|
type VectorisedPacketWriter interface {
|
|
WriteVectorisedPacket(buffers []*buf.Buffer, destination M.Socksaddr) error
|
|
}
|