postgres

package
v0.0.0-...-249e25c Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2025 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTransport

func NewTransport(cfg Config) (queue.Transport, error)

Types

type Config

type Config struct {
	ConnStr       string
	Logger        *zap.Logger
	EnableLogging bool
	MaxConns      int32
}

type Transport

type Transport struct {
	// contains filtered or unexported fields
}

Transport ...

func (*Transport) Close

func (s *Transport) Close() error

Close ...

func (*Transport) Open

func (s *Transport) Open(name string) (queue.Queue, error)

Jump to

Keyboard shortcuts

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