mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2026-10-22 06:18:27 +02:00
Add global setting form
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// GlobalSetting model
|
||||
type GlobalSetting struct {
|
||||
EndpointAddress string `json:"endpoint_address"`
|
||||
DNSServers []string `json:"dns_servers"`
|
||||
MTU int `json:"mtu,string"`
|
||||
PersistentKeepalive int `json:"persistent_keepalive,string"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
}
|
||||
Reference in New Issue
Block a user