Documentation
¶
Overview ¶
Package governedpostgres provides Modary's governed PostgreSQL profile and River-backed transactional task service.
Stability: alpha. Consumers should pin an exact pre-v1 Modary version.
Index ¶
Constants ¶
View Source
const ModuleID = "postgres"
ModuleID is the stable Module manifest and migration owner identifier.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
URL string
ApplicationSchema string
QueueSchema string
MaxOpenConnections int
MaxIdleConnections int
ConnectionMaxLifetime time.Duration
}
Options explicitly configures the PostgreSQL durable profile. URL is required and may be a PostgreSQL URL or pgx keyword/value connection string. The two schemas are created if absent and must be distinct. No option is read from process environment or global configuration.
Click to show internal directories.
Click to hide internal directories.