This commit is contained in:
世界
2025-03-26 23:02:13 +08:00
parent 9656bc0938
commit 29bdf47e44
31 changed files with 1877 additions and 336 deletions

13
adapter/mitm.go Normal file
View File

@@ -0,0 +1,13 @@
package adapter
import (
"context"
"net"
N "github.com/sagernet/sing/common/network"
)
type MITMEngine interface {
Lifecycle
NewConnection(ctx context.Context, this N.Dialer, conn net.Conn, metadata InboundContext, onClose N.CloseHandlerFunc)
}