mirror of
https://github.com/ngoduykhanh/wireguard-ui
synced 2024-05-22 23:42:13 +02:00
15 lines
367 B
Go
15 lines
367 B
Go
|
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"`
|
||
|
}
|