mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-29 13:28:03 -05:00
Added fields in Machine to store authkey + validation tests
This commit is contained in:
10
machine.go
10
machine.go
@@ -25,9 +25,13 @@ type Machine struct {
|
||||
NamespaceID uint
|
||||
Namespace Namespace
|
||||
|
||||
Registered bool // temp
|
||||
LastSeen *time.Time
|
||||
Expiry *time.Time
|
||||
Registered bool // temp
|
||||
RegisterMethod string
|
||||
AuthKeyID uint
|
||||
AuthKey *PreAuthKey
|
||||
|
||||
LastSeen *time.Time
|
||||
Expiry *time.Time
|
||||
|
||||
HostInfo postgres.Jsonb
|
||||
Endpoints postgres.Jsonb
|
||||
|
||||
Reference in New Issue
Block a user