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

postgres

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package postgres runs the account commands and command records of gonsole/auth on a program's PostgreSQL database.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migration

func Migration() gonsole.Step

Migration returns the step that applies gouncer's account schema.

func NewRecordStore

func NewRecordStore(pool *pgxpool.Pool) auth.RecordStore

NewRecordStore returns the record store of the PostgreSQL database behind pool.

func RecordMigration

func RecordMigration() gonsole.Step

RecordMigration returns the step that applies the schema keeping the command records.

func Stores

func Stores(ctx context.Context, call gonsole.Call) (auth.Stores, func(context.Context) error, error)

Stores returns the stores of call on a pool of its database setting, and the release that closes the pool.

Types

This section is empty.

Jump to

Keyboard shortcuts

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