fix: close linstener

This commit is contained in:
Skyxim
2022-12-04 15:15:23 +08:00
parent 6fc62da7ae
commit e9d8dd09ac
9 changed files with 23 additions and 18 deletions

View File

@ -16,7 +16,7 @@ type AdvanceListener interface {
type NewListener interface {
Name() string
ReCreate(tcpIn chan<- ConnContext, udpIn chan<- PacketAdapter) error
Listen(tcpIn chan<- ConnContext, udpIn chan<- PacketAdapter) error
Close() error
Address() string
RawAddress() string