mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 18:17:52 -05:00
16 lines
166 B
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)
|
|
}
|