Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetGoLogDebugFormat ¶
func SetGoLogDebugFormat()
Types ¶
type Account ¶
type Account struct { ID string `mapstructure:"id" json:"id"` Label string `mapstructure:"label" json:"label"` Notes string `mapstructure:"notes" json:"notes"` ApiKey string `mapstructure:"key" json:"key"` ApiSecret string `mapstructure:"secret" json:"secret"` // Timestamp of the last time the plugin fetched trades from the source. LastFetched string `mapstructure:"lastFetched" json:"lastFetched"` }
type Ctl ¶
type Ctl struct {
Address string `json:"address"` // Address for the web server to listen on.
}
type LedgerInfoDoc ¶
type LedgerRec ¶
type LedgerRec struct { LedgerInfoDoc ID string }
type LedgerRecList ¶
type LedgerRecList []LedgerRec
func (LedgerRecList) Sort ¶
func (e LedgerRecList) Sort()
type Manifest ¶
type Manifest struct { ID string `json:"id"` // Unique ID of the plugin. Type string `json:"type"` // Type of the plugin. Currently "Source" and "Report" are supported. Label string `json:"label"` // Name of the plugin as presented in the apps UI. Author Author `json:"author"` // Author of the plugin. Can include a social media link as well. See Author struct. Version string `json:"version"` // Version of the plugin. Icon string `json:"icon"` // Icon to show in the plugin section. Bin string `json:"bin"` // Name of the binary that f-taxes should start (must be the same for each operating system. The file extension should be omitted here. F-Taxes will add ".exe" on windows automatically). NoSpawn bool `json:"noSpawn"` // If true, F-Taxes won't try to spawn the plugin. Useful to run a plugin manually for development. Repository string `json:"repository"` // Url of the repository with the plugin's source code. Download DlInfo `json:"download"` // List of download urls. Should supply one for each operating system if possible. Web Web `json:"web"` // If set F-Taxes will allow the plugin to display a web ui. Ctl Ctl `json:"ctl"` // Settings for the plugin's grpc server that allows for control via F-Taxes. }
var Plugin Manifest
type TradeRec ¶
type TradeRec struct { krakenapi.TradeHistoryInfo LedgerRecs LedgerRecList ID string }
Click to show internal directories.
Click to hide internal directories.