sqlite

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TableAccount                 = "auth_accounts"
	TableSession                 = "auth_sessions"
	TableGroup                   = "auth_groups"
	TableAccountGroupAssociation = "auth_accounts_groups_associations"
	TablePasswordResetToken      = "auth_password_reset_tokens"
)

Variables

View Source
var (
	Q_InsertAccountQuery   = ""
	Q_GetAccountByID       = ""
	Q_GetAccountByEmail    = ""
	Q_GetAccountByUsername = ""
	Q_UpdateAccountByID    = ""
	Q_DeleteAccountByID    = ""
	Q_GetAccountList       = ""
	Q_GetTotalAccountCount = ""
)

Account

View Source
var (
	Q_InsertSession         = ""
	Q_GetSessionByID        = ""
	Q_InvalidateSession     = ""
	Q_GetAccountBySessionID = ""
)

Session

View Source
var (
	Q_InsertGroup  = ""
	Q_UpdateGroup  = ""
	Q_DeleteGroup  = ""
	Q_GetGroupByID = ""

	Q_InsertAccountGroupAssociation = ""
	Q_GetGroupsByAccountID          = ""
	Q_CheckAccountGroupAssociation  = ""
	Q_DeleteAccountGroupAssociation = ""
)

Group

View Source
var (
	Q_InsertPasswordResetToken       = ""
	Q_GetPasswordResetToken          = ""
	Q_GetAccountByPasswordResetToken = ""
	Q_InvalidateResetToken           = ""
)

PasswordResetToken

Functions

func NewAccountStorage

func NewAccountStorage(conn *sql.DB) entities.AuthenticationStore

func NewNullString

func NewNullString(s string) sql.NullString

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL