17 lines
212 B
Go
17 lines
212 B
Go
|
package session
|
||
|
|
||
|
import (
|
||
|
// Standard
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
type T struct {
|
||
|
UUID string
|
||
|
Created time.Time
|
||
|
LastUsed time.Time `db:"last_used"`
|
||
|
Authenticated bool
|
||
|
|
||
|
Username string
|
||
|
Name string
|
||
|
}
|