v2ray-core/transport/internet/connection.go

16 lines
166 B
Go

package internet
import (
"net"
)
type ConnectionHandler func(Connection)
type Connection interface {
net.Conn
}
type SysFd interface {
SysFd() (int, error)
}