v2ray-core/transport/internet/connection.go

16 lines
166 B
Go
Raw Normal View History

2016-06-14 20:54:08 +00:00
package internet
import (
"net"
)
type ConnectionHandler func(Connection)
type Connection interface {
net.Conn
}
2016-06-29 22:08:20 +00:00
type SysFd interface {
SysFd() (int, error)
}