This commit is contained in:
世界
2024-12-03 11:52:01 +08:00
parent 5bbc763a4b
commit c5620e8a14
33 changed files with 227 additions and 232 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