0
0
mirror of https://github.com/vx3r/wg-gen-web.git synced 2025-09-11 12:24:27 +00:00

issue #23 peer client preshared key, update dependencies

This commit is contained in:
vx3r
2020-03-18 15:57:15 +09:00
parent 38a284c7c8
commit 200e47b708
12 changed files with 484 additions and 348 deletions

View File

@ -13,6 +13,7 @@ type Client struct {
Email string `json:"email"`
Enable bool `json:"enable"`
IgnorePersistentKeepalive bool `json:"ignorePersistentKeepalive"`
PresharedKey string `json:"presharedKey"`
AllowedIPs []string `json:"allowedIPs"`
Address []string `json:"address"`
PrivateKey string `json:"privateKey"`

View File

@ -13,7 +13,6 @@ type Server struct {
Mtu int `json:"mtu"`
PrivateKey string `json:"privateKey"`
PublicKey string `json:"publicKey"`
PresharedKey string `json:"presharedKey"`
Endpoint string `json:"endpoint"`
PersistentKeepalive int `json:"persistentKeepalive"`
Dns []string `json:"dns"`