Documentation
¶
Index ¶
- type Ledger
- func (l *Ledger) Delete(txnID string)
- func (l *Ledger) DeleteAccount(accountStr string) error
- func (l *Ledger) DeleteCurrency(currency string) error
- func (l *Ledger) DeleteTag(account, tag string) error
- func (l *Ledger) GetAccounts(txn *core.Transaction) ([]*core.Account, error)
- func (l *Ledger) GetCurrencies(txn *core.Transaction) ([]*core.Currency, error)
- func (l *Ledger) GetListing(enddate, startdate time.Time) (*[]core.Transaction, error)
- func (l *Ledger) GetTB(date time.Time) (*[]core.TBAccount, error)
- func (l *Ledger) Insert(txn *core.Transaction) (string, error)
- func (l *Ledger) InsertAccount(accountStr string) error
- func (l *Ledger) InsertCurrency(curr *core.Currency) error
- func (l *Ledger) InsertTag(account, tag string) error
- func (l *Ledger) Start()
- func (l *Ledger) Status() error
- func (l *Ledger) Stop() error
- func (l *Ledger) Void(txnID string, usr *core.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ledger ¶
type Ledger struct { LedgerDb db.Database Config *cmd.LedgerConfig }
func (*Ledger) DeleteAccount ¶ added in v0.5.1
func (*Ledger) DeleteCurrency ¶ added in v0.3.0
func (*Ledger) GetAccounts ¶
func (*Ledger) GetCurrencies ¶
func (*Ledger) GetListing ¶ added in v0.4.0
func (*Ledger) InsertAccount ¶ added in v0.5.1
func (*Ledger) InsertCurrency ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.