Documentation ¶
Index ¶
Constants ¶
View Source
const TimeOut = 5 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct { utils.Connection IsDisconnected bool // contains filtered or unexported fields }
func (*DB) GetAllTransactions ¶
func (db *DB) GetAllTransactions() (*[]entities.Transaction, error)
func (*DB) GetTransactionBySubcategory ¶
func (db *DB) GetTransactionBySubcategory(subRegex string) ( *[]entities.Transaction, error, )
func (*DB) StoreTransactions ¶
func (db *DB) StoreTransactions(transactions ...entities.Transaction) ( int, error, )
Click to show internal directories.
Click to hide internal directories.