mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-07-05 17:03:15 +03:00
Add endpoint field to client
This commit is contained in:
parent
0bf6dae5cf
commit
ca42b4aeab
5 changed files with 22 additions and 5 deletions
model
|
@ -15,6 +15,7 @@ type Client struct {
|
|||
AllocatedIPs []string `json:"allocated_ips"`
|
||||
AllowedIPs []string `json:"allowed_ips"`
|
||||
ExtraAllowedIPs []string `json:"extra_allowed_ips"`
|
||||
Endpoint string `json:"endpoint"`
|
||||
UseServerDNS bool `json:"use_server_dns"`
|
||||
Enabled bool `json:"enabled"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue