20 lines
641 B
Go
20 lines
641 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"`
|
|
FirewallMark string `json:"firewall_mark"`
|
|
Table string `json:"table"`
|
|
ConfigFilePath string `json:"config_file_path"`
|
|
ConfigFileMode string `json:"config_file_mode"`
|
|
MaxmindLicenseKey string `json:"maxmind_license_key"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
}
|