This commit is contained in:
世界
2025-01-13 15:14:30 +08:00
parent 68781387fe
commit 0c66888691
32 changed files with 263 additions and 267 deletions
+3
View File
@@ -46,6 +46,9 @@ type PacketConnectionHandlerEx interface {
NewPacketConnectionEx(ctx context.Context, conn N.PacketConn, metadata InboundContext, onClose N.CloseHandlerFunc)
}
// Deprecated: use TCPConnectionHandlerEx instead
//
//nolint:staticcheck
type UpstreamHandlerAdapter interface {
N.TCPConnectionHandler
N.UDPConnectionHandler