add plain text WIP

This commit is contained in:
InkerBot
2026-04-25 09:04:39 +08:00
parent 710a058b4a
commit 966bbeecef
12 changed files with 1383 additions and 7 deletions
+6 -3
View File
@@ -1,29 +1,32 @@
--- a/include/registry.go
+++ b/include/registry.go
@@ -23,6 +23,8 @@
@@ -23,6 +23,9 @@
"github.com/sagernet/sing-box/protocol/group"
"github.com/sagernet/sing-box/protocol/http"
"github.com/sagernet/sing-box/protocol/mixed"
+ "github.com/sagernet/sing-box/protocol/minecraft" // OMV
+ "github.com/sagernet/sing-box/protocol/mysql" // OMV
+ "github.com/sagernet/sing-box/protocol/obfhttp" // OMV
"github.com/sagernet/sing-box/protocol/naive"
"github.com/sagernet/sing-box/protocol/redirect"
"github.com/sagernet/sing-box/protocol/shadowsocks"
@@ -62,6 +64,8 @@
@@ -62,6 +65,9 @@
shadowtls.RegisterInbound(registry)
vless.RegisterInbound(registry)
anytls.RegisterInbound(registry)
+ mysql.RegisterInbound(registry) // OMV
+ minecraft.RegisterInbound(registry) // OMV
+ obfhttp.RegisterInbound(registry) // OMV
registerQUICInbounds(registry)
registerStubForRemovedInbounds(registry)
@@ -90,6 +94,8 @@
@@ -90,6 +96,9 @@
shadowtls.RegisterOutbound(registry)
vless.RegisterOutbound(registry)
anytls.RegisterOutbound(registry)
+ mysql.RegisterOutbound(registry) // OMV
+ minecraft.RegisterOutbound(registry) // OMV
+ obfhttp.RegisterOutbound(registry) // OMV
registerQUICOutbounds(registry)
registerStubForRemovedOutbounds(registry)