🎨新增客户端状态字段

This commit is contained in:
coward
2024-03-11 14:53:28 +08:00
parent 16799ee5d8
commit 71d6090f94
10 changed files with 1002 additions and 0 deletions

View File

@@ -15,12 +15,14 @@ type Server struct {
type Client struct {
ID string `json:"id"`
Name string `json:"name"`
Email string `json:"email"`
PublicKey string `json:"publicKey"`
PresharedKey string `json:"presharedKey"`
AllowedIPS string `json:"allowedIps"`
PersistentKeepalive string `json:"persistentKeepalive"`
Endpoint string `json:"endpoint"`
CreateUser string `json:"createUser"`
Enabled bool `json:"enabled"`
CreatedAt string `json:"createdAt"`
UpdatedAt string `json:"updatedAt"`
}