mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-06-06 00:37:24 +03:00
added Post Up and Post Down configuration to server interface
This commit is contained in:
parent
cd7f6e500a
commit
80cdb768a6
4 changed files with 22 additions and 2 deletions
|
@ -22,4 +22,6 @@ type ServerInterface struct {
|
|||
Addresses []string `json:"addresses"`
|
||||
ListenPort int `json:"listen_port,string"` // ,string to get listen_port string input as int
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
PostUp string `json:"post_up"`
|
||||
PostDown string `json:"post_down"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue