add minecraft protocol
This commit is contained in:
@@ -1,20 +1,25 @@
|
||||
--- a/constant/proxy.go
|
||||
+++ b/constant/proxy.go
|
||||
@@ -31,6 +31,7 @@
|
||||
@@ -31,6 +31,8 @@
|
||||
TypeCCM = "ccm"
|
||||
TypeOCM = "ocm"
|
||||
TypeOOMKiller = "oom-killer"
|
||||
+ TypeMySQL = "mysql" // OMV
|
||||
+ TypeMinecraft = "minecraft" // OMV
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -88,6 +89,10 @@
|
||||
@@ -88,6 +90,14 @@
|
||||
return "AnyTLS"
|
||||
case TypeTailscale:
|
||||
return "Tailscale"
|
||||
+ // OMV start: register mysql type name
|
||||
+ case TypeMySQL:
|
||||
+ return "MySQL"
|
||||
+ // OMV end
|
||||
+ // OMV start: register minecraft type name
|
||||
+ case TypeMinecraft:
|
||||
+ return "Minecraft"
|
||||
+ // OMV end
|
||||
case TypeSelector:
|
||||
return "Selector"
|
||||
|
||||
Reference in New Issue
Block a user