mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-07-24 19:52:56 +03:00
Add PostUp and PostDown script for clients interface
This commit is contained in:
parent
efbc36d61f
commit
05cfe56ab9
5 changed files with 43 additions and 3 deletions
|
@ -17,6 +17,8 @@ type Client struct {
|
|||
ExtraAllowedIPs []string `json:"extra_allowed_ips"`
|
||||
UseServerDNS bool `json:"use_server_dns"`
|
||||
Enabled bool `json:"enabled"`
|
||||
PostUp string `json:"post_up"`
|
||||
PostDown string `json:"post_down"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue