Add Go WireGuard panel with PostgreSQL 17 and Dokploy compose.

This commit is contained in:
2026-07-29 09:15:00 +03:00
parent 370e2455d4
commit 31ce2af622
25 changed files with 2423 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
package models
import "time"
type User struct {
ID int64
Username string
Email string
PasswordHash string
Role string
IsApproved bool
CreatedAt time.Time
}
type WGConfig struct {
ID int64
Token string
UserID *int64
ConfigContent string
CreatedAt time.Time
OriginalFilename string
IsDemo bool
}
type SiteStatus struct {
ID int64
IsOnline bool
Message string
}
type SessionUser struct {
ID int64
Username string
Role string
}