storage

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

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

func New

func New(conn postgres.Conn) *Storage

func (*Storage) Admin

func (s *Storage) Admin() *admin.Storage

func (*Storage) Reader

func (s *Storage) Reader() *reader.Storage

func (*Storage) WithTransaction

func (s *Storage) WithTransaction(operation func(store *Storage) error) error

Based on: https://pkg.go.dev/github.com/jackc/pgx#hdr-Transactions

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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