base sagernet and migrate to circleci

This commit is contained in:
iceBear67
2026-07-16 04:47:12 +00:00
parent cf2658264a
commit 87871e223f
16 changed files with 322 additions and 149 deletions
+11 -15
View File
@@ -1,28 +1,24 @@
--- a/constant/proxy.go
+++ b/constant/proxy.go
@@ -31,6 +31,9 @@
TypeCCM = "ccm"
TypeOCM = "ocm"
TypeOOMKiller = "oom-killer"
+ TypeMySQL = "mysql" // OMV
+ TypeMinecraft = "minecraft" // OMV
+ TypeObfHTTP = "obfhttp" // OMV
@@ -40,6 +40,9 @@
TypeHysteriaRealm = "hysteria-realm"
TypeACME = "acme"
TypeCloudflareOriginCA = "cloudflare-origin-ca"
+ TypeMySQL = "mysql" // OMV
+ TypeMinecraft = "minecraft" // OMV
+ TypeObfHTTP = "obfhttp" // OMV
)
const (
@@ -88,6 +91,18 @@
return "AnyTLS"
case TypeTailscale:
@@ -103,6 +106,14 @@
return "Tailscale"
+ // OMV start: register mysql type name
case TypeCloudflared:
return "Cloudflared"
+ // OMV start: register omv protocol type names
+ case TypeMySQL:
+ return "MySQL"
+ // OMV end
+ // OMV start: register minecraft type name
+ case TypeMinecraft:
+ return "Minecraft"
+ // OMV end
+ // OMV start: register obfhttp type name
+ case TypeObfHTTP:
+ return "ObfHTTP"
+ // OMV end