wireguard-ui/model/setting.go
2020-04-20 09:54:41 +07:00

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"`
}