package
Version:
v0.4.2
Opens a new window with list of versions in this module.
Published: Dec 11, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
dbtype is a package that contains types used by the database driver packages for session storage.
type InsertSession struct {
Username string `spanner:"Username" db:"Username"`
CreatedAt time.Time `spanner:"CreatedAt" db:"CreatedAt"`
UpdatedAt time.Time `spanner:"UpdatedAt" db:"UpdatedAt"`
Expired bool `spanner:"Expired" db:"Expired"`
}
type InsertSessionOIDC struct {
OidcSID string `spanner:"OidcSid" db:"OidcSid"`
InsertSession
}
type Session struct {
ID ccc.UUID `spanner:"Id" db:"Id"`
Username string `spanner:"Username" db:"Username"`
CreatedAt time.Time `spanner:"CreatedAt" db:"CreatedAt"`
UpdatedAt time.Time `spanner:"UpdatedAt" db:"UpdatedAt"`
Expired bool `spanner:"Expired" db:"Expired"`
}
type SessionOIDC struct {
OidcSID string `spanner:"OidcSid" db:"OidcSid"`
Session
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.