storage

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ErrNotFound is returned by storage adapters when a lookup misses. Service code translates to theauth sentinel errors as appropriate. Aliased to theauth.ErrStorageNotFound so that root-package service code can errors.Is-check without importing this package (which would create an import cycle).

Functions

This section is empty.

Types

type Storage

type Storage = theauth.Storage

Storage is the persistence contract TheAuth depends on. Re-exported from the root package so adapters can reference the conventional location while the root package owns the interface definition (avoids a root -> storage -> root import cycle).

Directories

Path Synopsis
Package postgres provides a Postgres-backed storage.Storage implementation built on top of sqlc-generated queries and pgx/v5.
Package postgres provides a Postgres-backed storage.Storage implementation built on top of sqlc-generated queries and pgx/v5.

Jump to

Keyboard shortcuts

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