Improve read wait interface &

Refactor Authenticator interface to struct
This commit is contained in:
世界
2023-12-07 11:56:57 +08:00
parent 4197805a22
commit c8b4182ea3
22 changed files with 291 additions and 320 deletions

View File

@@ -30,7 +30,7 @@ type ProxyListener struct {
tcpListener *net.TCPListener
username string
password string
authenticator auth.Authenticator
authenticator *auth.Authenticator
}
func NewProxyListener(ctx context.Context, logger log.ContextLogger, dialer N.Dialer) *ProxyListener {