storagenotion

package
v0.0.0-...-1b3c451 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 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 PostgresStorage

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

func New

func New() *PostgresStorage

func (*PostgresStorage) ListBudgets

func (p *PostgresStorage) ListBudgets(ipt ports.BudgetFilterInput) ([]ports.Budget, error)

func (*PostgresStorage) ListGoal

func (p *PostgresStorage) ListGoal(accountID string, status *int) ([]ports.Goal, error)

func (*PostgresStorage) ListRecipients

func (p *PostgresStorage) ListRecipients(accountID string) ([]ports.Recipient, error)

func (*PostgresStorage) ListTransactions

func (p *PostgresStorage) ListTransactions(accountID string) ([]ports.Transaction, error)

func (*PostgresStorage) ListUpComming

func (p *PostgresStorage) ListUpComming(accountID string, day int) ([]ports.UpComming, error)

func (*PostgresStorage) SaveBudget

func (p *PostgresStorage) SaveBudget(b ports.Budget)

func (*PostgresStorage) SaveGoal

func (p *PostgresStorage) SaveGoal(g ports.Goal)

func (*PostgresStorage) SaveTransaction

func (p *PostgresStorage) SaveTransaction(t ports.Transaction) error

func (*PostgresStorage) SaveUpComming

func (p *PostgresStorage) SaveUpComming(u ports.UpComming) error

Jump to

Keyboard shortcuts

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