postgresql

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package postgresql opens the verified PostgreSQL database profile required by Golem.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(ctx context.Context, config Config) (*provider.Database, error)

Types

type Config

type Config struct {
	DataSourceName string
	Pool           PoolConfig
}

type PoolConfig

type PoolConfig struct {
	MaximumOpen               int
	MaximumIdle               int
	ConnectionMaximumLifetime time.Duration
	ConnectionMaximumIdleTime time.Duration
}

Jump to

Keyboard shortcuts

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