repository

package
v0.0.0-...-56a94f0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PixKeyRepositoryDb

type PixKeyRepositoryDb struct {
	Db *gorm.DB
}

func (PixKeyRepositoryDb) AddAccount

func (r PixKeyRepositoryDb) AddAccount(account *model.Account) error

func (PixKeyRepositoryDb) AddBank

func (r PixKeyRepositoryDb) AddBank(bank *model.Bank) error

func (PixKeyRepositoryDb) FindAccount

func (r PixKeyRepositoryDb) FindAccount(id string) (*model.Account, error)

func (PixKeyRepositoryDb) FindBank

func (r PixKeyRepositoryDb) FindBank(id string) (*model.Bank, error)

func (PixKeyRepositoryDb) FindKeyByKind

func (r PixKeyRepositoryDb) FindKeyByKind(key string, kind string) (*model.PixKey, error)

func (PixKeyRepositoryDb) RegisterKey

func (r PixKeyRepositoryDb) RegisterKey(pixKey *model.PixKey) (*model.PixKey, error)

type TransactionRepositoryDb

type TransactionRepositoryDb struct {
	Db *gorm.DB
}

func (*TransactionRepositoryDb) Find

func (*TransactionRepositoryDb) Register

func (t *TransactionRepositoryDb) Register(transaction *model.Transaction) error

func (*TransactionRepositoryDb) Save

func (t *TransactionRepositoryDb) Save(transaction *model.Transaction) error

Jump to

Keyboard shortcuts

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