add fake mysql

This commit is contained in:
n3t1zen
2026-02-12 17:44:11 +08:00
parent 58ccf82e0b
commit bab5784ce5
9 changed files with 615 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ import (
"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/mysql"
"github.com/sagernet/sing-box/protocol/naive"
"github.com/sagernet/sing-box/protocol/redirect"
"github.com/sagernet/sing-box/protocol/shadowsocks"
@@ -63,6 +64,7 @@ func InboundRegistry() *inbound.Registry {
shadowtls.RegisterInbound(registry)
vless.RegisterInbound(registry)
anytls.RegisterInbound(registry)
mysql.RegisterInbound(registry)
registerQUICInbounds(registry)
registerStubForRemovedInbounds(registry)
@@ -92,6 +94,7 @@ func OutboundRegistry() *outbound.Registry {
shadowtls.RegisterOutbound(registry)
vless.RegisterOutbound(registry)
anytls.RegisterOutbound(registry)
mysql.RegisterOutbound(registry)
registerQUICOutbounds(registry)
registerWireGuardOutbound(registry)