mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 05:00:24 +08:00 
			
		
		
		
	删除不需要的 ServerTypeUnixProxy
This commit is contained in:
		@@ -11,7 +11,6 @@ const (
 | 
				
			|||||||
	ServerTypeHTTPProxy ServerType = "httpProxy"
 | 
						ServerTypeHTTPProxy ServerType = "httpProxy"
 | 
				
			||||||
	ServerTypeHTTPWeb   ServerType = "httpWeb"
 | 
						ServerTypeHTTPWeb   ServerType = "httpWeb"
 | 
				
			||||||
	ServerTypeTCPProxy  ServerType = "tcpProxy"
 | 
						ServerTypeTCPProxy  ServerType = "tcpProxy"
 | 
				
			||||||
	ServerTypeUnixProxy ServerType = "unixProxy"
 | 
					 | 
				
			||||||
	ServerTypeUDPProxy  ServerType = "udpProxy"
 | 
						ServerTypeUDPProxy  ServerType = "udpProxy"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -78,11 +77,6 @@ func FindAllServerProtocols() []maps.Map {
 | 
				
			|||||||
			"code":        "tls",
 | 
								"code":        "tls",
 | 
				
			||||||
			"serverTypes": []ServerType{ServerTypeTCPProxy},
 | 
								"serverTypes": []ServerType{ServerTypeTCPProxy},
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		{
 | 
					 | 
				
			||||||
			"name":        "Unix",
 | 
					 | 
				
			||||||
			"code":        "unix",
 | 
					 | 
				
			||||||
			"serverTypes": []ServerType{ServerTypeUnixProxy},
 | 
					 | 
				
			||||||
		},
 | 
					 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"name":        "UDP",
 | 
								"name":        "UDP",
 | 
				
			||||||
			"code":        "udp",
 | 
								"code":        "udp",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user