mirror of
https://git.evilfox.cc/test2/wg.git
synced 2026-08-01 04:13:24 +00:00
Add Go WireGuard panel with PostgreSQL 17 and Dokploy compose.
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user