wireguard-ui/model/setting.go

17 lines
478 B
Go
Raw Normal View History

2020-04-20 04:54:41 +02:00
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"`
2023-03-15 21:37:39 +01:00
FirewallMark string `json:"firewall_mark"`
ConfigFilePath string `json:"config_file_path"`
2020-04-20 04:54:41 +02:00
UpdatedAt time.Time `json:"updated_at"`
}