Documentation ¶
Index ¶
- type API
- type Base
- type CLI
- func (cmd *CLI) AddBuyStock(cliCtx *cli.Context) error
- func (cmd *CLI) AddDividend(cliCtx *cli.Context) error
- func (cmd *CLI) AddDividendRetention(cliCtx *cli.Context) error
- func (cmd *CLI) AddInterest(cliCtx *cli.Context) error
- func (cmd *CLI) AddSellStock(cliCtx *cli.Context) error
- func (cmd *CLI) AddStock(cliCtx *cli.Context) error
- func (cmd *CLI) ExportSnapshotWallet(cliCtx *cli.Context) error
- func (cmd *CLI) ExportStocks(cliCtx *cli.Context) error
- func (cmd *CLI) ExportWallet(cliCtx *cli.Context) error
- func (cmd *CLI) ImportDividendRetention(cliCtx *cli.Context) error
- func (cmd *CLI) ImportOperation(cliCtx *cli.Context) error
- func (cmd *CLI) ImportStock(cliCtx *cli.Context) error
- func (cmd *CLI) ImportTransfer(cliCtx *cli.Context) error
- func (cmd *CLI) ImportWallet(cliCtx *cli.Context) error
- func (cmd *CLI) ReloadWallet(cliCtx *cli.Context) error
- func (cmd *CLI) UpdateDividend(cliCtx *cli.Context) error
- func (cmd *CLI) UpdatePrice(cliCtx *cli.Context) error
- type HTTP
- type Migrate
- type Scraper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
Base hold common command properties
func NewBase ¶
func NewBase(ctx context.Context, config *config.Specification) *Base
NewBase creates a structure with common shared properties of the commands
func (*Base) InitDatabaseConnection ¶
type CLI ¶
type CLI struct { *Base // contains filtered or unexported fields }
func (*CLI) AddDividendRetention ¶
AddDividendRetention adds dividend retention.
func (*CLI) AddStock ¶
AddStock adds stock. Scraped the rest of information of the stock from Yahoo/MarketChameleon
func (*CLI) ExportStocks ¶
List in csv format the wallet items from a wallet
func (*CLI) ExportWallet ¶
ExportWalletDetails List in csv format or print into screen the wallet details
func (*CLI) ImportDividendRetention ¶
func (*CLI) ReloadWallet ¶
ReloadWallet reload the wallet operation
type Migrate ¶
type Migrate struct {
*Base
}
Migrate ...
Click to show internal directories.
Click to hide internal directories.