mirror of
https://github.com/sigcn/pg.git
synced 2026-04-23 06:49:34 +08:00
readme: update rootless mode section
This commit is contained in:
@@ -42,7 +42,7 @@ func (s *ProxyServer) Start(ctx context.Context, wg *sync.WaitGroup) error {
|
||||
udpPacketConn.Close()
|
||||
}()
|
||||
s.udpListener = &N.UDPListener{PacketConn: udpPacketConn}
|
||||
slog.Info("[Proxy] Server started", "listen", fmt.Sprintf("tcp+udp://%s", tcpListener.Addr().String()))
|
||||
slog.Info("[Proxy] Server started", "listen", fmt.Sprintf("tcp+udp://%s", tcpListener.Addr().String()), "protocols", "socks5")
|
||||
go s.run(tcpListener)
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user