Move V2rayUtils

This commit is contained in:
ChsBuffer
2021-02-16 22:37:33 +08:00
parent 182937ab69
commit 710dd646b9
5 changed files with 5 additions and 7 deletions

View File

@@ -3,7 +3,7 @@ using Netch.Servers.V2ray;
namespace Netch.Servers.Socks5
{
public class S5Controller : V2RayController
public class S5Controller : V2rayController
{
public override string Name { get; } = "Socks5";
@@ -11,9 +11,7 @@ namespace Netch.Servers.Socks5
{
var server = (Socks5) s;
if (server.Auth())
{
return base.Start(s, mode);
}
return true;
}

View File

@@ -5,9 +5,9 @@ using Netch.Servers.V2ray.Utils;
namespace Netch.Servers.V2ray
{
public class V2RayController : Guard, IServerController
public class V2rayController : Guard, IServerController
{
public V2RayController()
public V2rayController()
{
StartedKeywords.Add("started");
StoppedKeywords.AddRange(new[] {"config file not readable", "failed to"});

View File

@@ -36,7 +36,7 @@ namespace Netch.Servers.VLESS
public IServerController GetController()
{
return new V2RayController();
return new V2rayController();
}
public IEnumerable<Server> ParseUri(string text)

View File

@@ -69,7 +69,7 @@ namespace Netch.Servers.VMess
public IServerController GetController()
{
return new V2RayController();
return new V2rayController();
}
public IEnumerable<Server> ParseUri(string text)