mirror of
https://github.com/profullstack/agentbbs.git
synced 2026-08-13 22:37:28 +00:00
auth: gofmt User struct alignment
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
85024afcf6
commit
1086d57a4d
1 changed files with 4 additions and 4 deletions
|
|
@ -19,10 +19,10 @@ const (
|
||||||
|
|
||||||
// User is the resolved identity for one session.
|
// User is the resolved identity for one session.
|
||||||
type User struct {
|
type User struct {
|
||||||
Name string
|
Name string
|
||||||
Kind Kind
|
Kind Kind
|
||||||
PubKeyFP string // SHA256 fingerprint, empty for guests without a key
|
PubKeyFP string // SHA256 fingerprint, empty for guests without a key
|
||||||
StoreID int64 // 0 for guests
|
StoreID int64 // 0 for guests
|
||||||
}
|
}
|
||||||
|
|
||||||
// GuestNames are usernames that always map to an anonymous guest hub session.
|
// GuestNames are usernames that always map to an anonymous guest hub session.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue