chore: shadowsocks listener support old cipher

This commit is contained in:
wwqgtxx
2022-11-11 22:44:44 +08:00
parent 3eacce9a66
commit 68b28ed530
7 changed files with 261 additions and 11 deletions

View File

@ -1,7 +1,15 @@
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)
}