1
1
Fork 0
mirror of https://github.com/vx3r/wg-gen-web.git synced 2024-05-05 22:46:02 +02:00
wg-gen-web/model/server.go
2020-01-30 15:45:49 +09:00

18 lines
540 B
Go

package model
import "time"
type Server struct {
Name string `json:"name"`
Created time.Time `json:"created"`
Updated time.Time `json:"updated"`
Address string `json:"address"`
ListenPort int `json:"listenPort"`
PrivateKey string `json:"privateKey"`
PublicKey string `json:"publicKey"`
PresharedKey string `json:"presharedKey"`
Endpoint string `json:"endpoint"`
PersistentKeepalive int `json:"persistentKeepalive"`
Dns string `json:"dns"`
}