add endpoint field to client

This commit is contained in:
Gabriel Soares 2023-10-24 05:24:10 -03:00
parent b55543f424
commit 00ffefac47
5 changed files with 22 additions and 5 deletions

View file

@ -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"`