You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
v2ray-core/transport/internet/connection.go

22 lines
247 B

package internet
import (
"net"
)
type ConnectionHandler func(Connection)
type Reusable interface {
Reusable() bool
SetReusable(reuse bool)
}
type Connection interface {
net.Conn
Reusable
}
9 years ago
type SysFd interface {
SysFd() (int, error)
}