storage

package
v0.0.0-...-8fc52e3 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DuplicateKeyError

type DuplicateKeyError struct {
}

type PostgresStore

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

func NewPostgresStore

func NewPostgresStore() (*PostgresStore, error)

func (*PostgresStore) CreateOpenListTable

func (s *PostgresStore) CreateOpenListTable() error

func (PostgresStore) Init

func (s PostgresStore) Init() error

func (*PostgresStore) InsertEntries

func (s *PostgresStore) InsertEntries(es []T.Entry) error

func (*PostgresStore) InsertEntry

func (s *PostgresStore) InsertEntry(e T.Entry) error

type Storage

type Storage interface {
	CreateEntry(*T.ListMessage) error
	DeleteEntry(int) error
}

Jump to

Keyboard shortcuts

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