2021-03-27 21:10:11 +00:00
|
|
|
package models
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
type Session struct {
|
|
|
|
ID string `db:"id"`
|
|
|
|
Username string `db:"username"`
|
|
|
|
ExpiresAt time.Time `db:"expires_at"`
|
2021-06-12 03:51:07 +00:00
|
|
|
CSRFToken string `db:"csrf_token"`
|
2021-03-27 21:10:11 +00:00
|
|
|
}
|