💩代码改进
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user