This commit is contained in:
jdl
2026-06-13 14:44:25 +02:00
parent a730211167
commit 232b68310c
5 changed files with 56 additions and 74 deletions

View File

@@ -1,6 +1,9 @@
package api
import "vppn/hub/api/db"
import (
"time"
"vppn/hub/api/db"
)
type Config = db.Config
type Network = db.Network
@@ -9,6 +12,6 @@ type Peer = db.Peer
type Session struct {
SessionID string
SignedIn bool
CreatedAt int64
LastSeenAt int64
CreatedAt time.Time
LastSeenAt time.Time
}