💩代码改进

This commit is contained in:
coward
2024-03-14 15:23:16 +08:00
parent 91a1e61334
commit 8dfef5192e
23 changed files with 443 additions and 83 deletions

View File

@@ -32,3 +32,16 @@ type Keys struct {
PublicKey string `json:"publicKey"`
PresharedKey string `json:"presharedKey"`
}
type ClientConfig struct {
PrivateKey string `json:"privateKey"`
IpAllocation string `json:"ipAllocation"`
MTU int `json:"MTU"`
DNS string `json:"DNS"`
PublicKey string `json:"publicKey"`
PresharedKey string `json:"presharedKey"`
AllowedIPS string `json:"allowedIPS"`
Endpoint string `json:"endpoint"`
ListenPort int `json:"listenPort"`
PersistentKeepalive int `json:"persistentKeepalive"`
}