mirror of
https://github.com/techgarage-ir/MTWireGuard.git
synced 2025-08-29 06:18:08 +02:00
Change project to 3-Layer structure
This commit is contained in:
parent
2f900a5036
commit
2d67540e13
1365 changed files with 760 additions and 618 deletions
25
MikrotikAPI/Endpoints.cs
Normal file
25
MikrotikAPI/Endpoints.cs
Normal file
|
@ -0,0 +1,25 @@
|
|||
namespace MikrotikAPI
|
||||
{
|
||||
public static class Endpoints
|
||||
{
|
||||
public const string Log = "log";
|
||||
public const string Wireguard = "interface/wireguard";
|
||||
public const string Interface = "interface";
|
||||
public const string WireguardPeers = "interface/wireguard/peers";
|
||||
public const string SystemResource = "system/resource";
|
||||
public const string SystemIdentity = "system/identity";
|
||||
public const string ActiveUsers = "user/active";
|
||||
public const string Jobs = "system/script/job";
|
||||
public const string MonitorTraffic = "interface/monitor-traffic";
|
||||
public static string Empty => string.Empty;
|
||||
}
|
||||
|
||||
public enum RequestMethod
|
||||
{
|
||||
GET,
|
||||
POST,
|
||||
PUT,
|
||||
DELETE,
|
||||
PATCH
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue