🎨同步配置文件改为队列

This commit is contained in:
coward
2024-03-11 11:30:36 +08:00
parent c274c59044
commit 16799ee5d8
13 changed files with 1467 additions and 3 deletions

View File

@@ -13,9 +13,19 @@ type Server struct {
}
type Client struct {
ID string `json:"id"`
Name string `json:"name"`
PublicKey string `json:"publicKey"`
PresharedKey string `json:"presharedKey"`
AllowedIPS string `json:"allowedIps"`
PersistentKeepalive string `json:"persistentKeepalive"`
Endpoint string `json:"endpoint"`
CreateUser string `json:"createUser"`
CreatedAt string `json:"createdAt"`
UpdatedAt string `json:"updatedAt"`
}
type Keys struct {
PrivateKey string `json:"privateKey"`
PublicKey string `json:"publicKey"`
}