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
+7 -2
View File
@@ -1,15 +1,16 @@
--- a/constant/proxy.go
+++ b/constant/proxy.go
@@ -31,6 +31,8 @@
@@ -31,6 +31,9 @@
TypeCCM = "ccm"
TypeOCM = "ocm"
TypeOOMKiller = "oom-killer"
+ TypeMySQL = "mysql" // OMV
+ TypeMinecraft = "minecraft" // OMV
+ TypeObfHTTP = "obfhttp" // OMV
)
const (
@@ -88,6 +90,14 @@
@@ -88,6 +91,18 @@
return "AnyTLS"
case TypeTailscale:
return "Tailscale"
@@ -20,6 +21,10 @@
+ // OMV start: register minecraft type name
+ case TypeMinecraft:
+ return "Minecraft"
+ // OMV end
+ // OMV start: register obfhttp type name
+ case TypeObfHTTP:
+ return "ObfHTTP"
+ // OMV end
case TypeSelector:
return "Selector"