postgresql

package
v0.0.3-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

README

Postgresql

This implementation of component.Storer interacts with postgresql.

Configuration

Environment Variable Type Required Default Description Possible Values
SMITHY_REMOTE_STORE_POSTGRES_DSN string yes - The Data Source Name for the Postgres database -

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ManagerWithClock

func ManagerWithClock(clock clockwork.Clock) managerOption

ManagerWithClock allows customising the manager with a clock.

func ManagerWithConnDSN

func ManagerWithConnDSN(dsn string) managerOption

ManagerWithConnDSN allows customising the manager with a dsn.

func NewManager

func NewManager(ctx context.Context, opts ...managerOption) (*manager, error)

NewManager returns a new manager that is initialised by looking at environment variables and applying customisation.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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