rename namespace and move some classes

This commit is contained in:
ChsBuffer
2020-10-02 16:18:20 +08:00
parent 36dc4a07f1
commit 4f3b0e5afb
69 changed files with 5472 additions and 260 deletions

View File

@@ -4,13 +4,10 @@ using System.Text;
namespace Netch.Controllers
{
public class DNSController : Controller
public class DNSController : IController
{
public DNSController()
{
Name = "DNS Service";
RedirectStd = false;
}
public string Name { get; } = "DNS Service";
/// <summary>
/// 启动DNS服务
@@ -27,7 +24,7 @@ namespace Netch.Controllers
aiodns_init();
}
public override void Stop()
public void Stop()
{
aiodns_free();
}