Help us shape the future of Go! Take the 2026 Go Developer Survey

sqlite

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package sqlite provides the SQLite storage adapter for Auth-All.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(db *sql.DB) store.Store

New returns a SQLite store over an application-owned database handle.

The handle must allow the RETURNING clause, which SQLite supports from version 3.35. Open configures a handle with the recommended settings.

func Open

func Open(dsn string) (*sql.DB, error)

Open returns a database handle configured for Auth-All.

It enables WAL mode, foreign keys, and a busy timeout, and it serializes writes through a single connection. The application owns the returned handle.

Types

This section is empty.

Jump to

Keyboard shortcuts

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