Validate AllowedIPs from user input

This commit is contained in:
Khanh Ngo 2020-04-19 10:46:43 +07:00
parent fe57993240
commit 7ae4dd12dd
No known key found for this signature in database
GPG key ID: D5FAA6A16150E49E
5 changed files with 55 additions and 14 deletions

6
handler/response.go Normal file
View file

@ -0,0 +1,6 @@
package handler
type jsonHTTPResponse struct {
Status bool `json:"status"`
Message string `json:"message"`
}