internal

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CreateGovalinSessionTable = `` /* 230-byte string literal not displayed */

	CreateGovalinSessionTableIndex = `CREATE INDEX IF NOT EXISTS oauthsession_expires ON govalin_session(expires)`
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Statements

type Statements struct {
	CreateSession   *sql.Stmt
	RetrieveSession *sql.Stmt
	RemoveSession   *sql.Stmt
	ListSessions    *sql.Stmt
	RefreshSession  *sql.Stmt
	GetSessionData  *sql.Stmt
	SetSessionData  *sql.Stmt
}

func InitStatements

func InitStatements(db *sql.DB) (Statements, error)

Jump to

Keyboard shortcuts

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