pgdb

package
v0.8.11 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConvictionRepository added in v0.8.0

func NewConvictionRepository(config ...interface{}) (domain.ConvictionRepository, error)

func NewEventRepository

func NewEventRepository(config ...interface{}) (domain.EventRepository, error)

func NewIntentFeesRepository added in v0.8.11

func NewIntentFeesRepository(config ...interface{}) (domain.FeeRepository, error)

func NewOffchainTxRepository

func NewOffchainTxRepository(config ...interface{}) (domain.OffchainTxRepository, error)

func NewRoundRepository

func NewRoundRepository(config ...interface{}) (domain.RoundRepository, error)

func NewScheduledSessionRepository added in v0.8.0

func NewScheduledSessionRepository(config ...interface{}) (domain.ScheduledSessionRepo, error)

func NewVtxoRepository

func NewVtxoRepository(config ...interface{}) (domain.VtxoRepository, error)

func OpenDb

func OpenDb(dsn string, autoCreate bool) (*sql.DB, error)

OpenDb opens a connection with the DB. If the operation fails when trying to establish a connection and the `autoCreate` flag is set to true, OpenDb will try to create the database set in the DSN.

Types

This section is empty.

Directories

Path Synopsis
sqlc

Jump to

Keyboard shortcuts

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