mirror of
https://github.com/techgarage-ir/MTWireGuard.git
synced 2025-08-30 14:49:31 +02:00
Update MikrotikAPI to support more options.
New connectivity methods.
This commit is contained in:
parent
3bea9768ba
commit
8d9b340aeb
9 changed files with 507 additions and 233 deletions
|
@ -34,6 +34,14 @@ namespace MikrotikAPI.Models
|
|||
public string TX { get; set; }
|
||||
}
|
||||
|
||||
public class WGPeerLastHandshake
|
||||
{
|
||||
[JsonProperty(".id")]
|
||||
public string Id { get; set; }
|
||||
[JsonProperty("last-handshake")]
|
||||
public string? LastHandshake { get; set; }
|
||||
}
|
||||
|
||||
public class WGPeerCreateModel
|
||||
{
|
||||
[JsonProperty("allowed-address")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue