mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-05-24 00:24:06 +03:00
added Post Up and Post Down configuration to server interface (#28)
This commit is contained in:
parent
d82da2fb35
commit
b0ed08f19d
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