Refactor inbound documetation

This commit is contained in:
世界 committed 2022-08-31 12:50:26 +08:00
1 parent d8028a8632
commit 67c7e9fd86
32 files changed
+754 -1522

No files matched your search

+1 -1
View File
@@ -223,7 +223,7 @@ func (w *WireGuard) ListenPacket(ctx context.Context, destination M.Socksaddr) (
}
func (w *WireGuard) NewConnection(ctx context.Context, conn net.Conn, metadata adapter.InboundContext) error {
return NewEarlyConnection(ctx, w, conn, metadata)
return NewConnection(ctx, w, conn, metadata)
}
func (w *WireGuard) NewPacketConnection(ctx context.Context, conn N.PacketConn, metadata adapter.InboundContext) error {