mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-06-06 00:37:24 +03:00
Validate AllowedIPs from user input
This commit is contained in:
parent
fe57993240
commit
7ae4dd12dd
5 changed files with 55 additions and 14 deletions
6
handler/response.go
Normal file
6
handler/response.go
Normal file
|
@ -0,0 +1,6 @@
|
|||
package handler
|
||||
|
||||
type jsonHTTPResponse struct {
|
||||
Status bool `json:"status"`
|
||||
Message string `json:"message"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue