Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Database *sqlx.DB
Functions ¶
func InsertUserAndSession ¶
func IsNoRowsError ¶
Types ¶
type Session ¶
type Session struct { ID int64 `json:"id" db:"id"` UserID int64 `json:"user_id" db:"user_id"` ExpiresAt time.Time `json:"expires_at" db:"expires_at"` }
func InsertSession ¶
Click to show internal directories.
Click to hide internal directories.