chore: listeners support shadowsocks/vmess

This commit is contained in:
wwqgtxx
2022-12-05 10:12:53 +08:00
parent 2e22c712af
commit b7d976796a
24 changed files with 453 additions and 125 deletions

View File

@ -8,11 +8,10 @@ type Listener interface {
Close() error
}
type AdvanceListener interface {
type MultiAddrListener interface {
Close() error
Config() string
AddrList() (addrList []net.Addr)
HandleConn(conn net.Conn, in chan<- ConnContext)
}
type InboundListener interface {