storage

package
v0.0.0-...-ca29f26 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2025 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

func LoadConfiguration

func LoadConfiguration(ctx context.Context) Config

func NewConfig

func NewConfig(host, user, password, port, dbname, sslmode string) Config

func (Config) ConnStr

func (c Config) ConnStr() string

type Storage

type Storage interface {
	app.ThingsReader
	app.ThingsWriter
	Close()
}

func New

func New(ctx context.Context, cfg Config) (Storage, error)

Jump to

Keyboard shortcuts

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