database

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package database provides the gorm-backed PostgreSQL connection used by the memory module. Connection details are read from config (which itself is sourced from the YAML config file with env overrides).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg config.DBConfig) (*gorm.DB, error)

New opens a gorm PostgreSQL connection and configures the pool. Only the postgres driver is supported (matching agent-frame's default).

Types

This section is empty.

Jump to

Keyboard shortcuts

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