base sagernet and migrate to circleci
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user