mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2024-11-15 05:31:18 +08:00
16 lines
226 B
Go
16 lines
226 B
Go
package constant
|
|
|
|
import "net"
|
|
|
|
type Listener interface {
|
|
RawAddress() string
|
|
Address() string
|
|
Close() error
|
|
}
|
|
|
|
type AdvanceListener interface {
|
|
Close()
|
|
Config() string
|
|
HandleConn(conn net.Conn, in chan<- ConnContext)
|
|
}
|