Documentation
¶
Index ¶
- Variables
- type BalanceType
- type BscCredentials
- type BscDataSource
- type ChildrenElementsType
- type CoinsCredentials
- type CoinsDataSource
- type Collectible
- type CryptoDataSource
- type CryptoManager
- type EthCredentials
- type EthDataSource
- type HuobiCredentials
- type HuobiDataSource
- type TokenInfo
- type TrayElement
- type TronCredentials
- type TronDataSource
- type TronJson
- type TronTokenJson
Constants ¶
This section is empty.
Variables ¶
View Source
var AlterWallet = CoinsDataSource{ CryptoDataSource{ Name: "Coins", Info: TrayElement{ Content: "", }, ChildElements: make(map[string]TrayElement), }, CoinsCredentials{ // contains filtered or unexported fields }, }
View Source
var BscWallet = BscDataSource{ CryptoDataSource{ Name: "BSC Wallet", Info: TrayElement{ Content: "", }, ChildElements: make(map[string]TrayElement), }, BscCredentials{ // contains filtered or unexported fields }, }
View Source
var EthWallet = EthDataSource{ CryptoDataSource{ Name: "ETH Wallet", Info: TrayElement{ Content: "", }, ChildElements: make(map[string]TrayElement), }, EthCredentials{ // contains filtered or unexported fields }, }
View Source
var HuobiWallet = HuobiDataSource{ CryptoDataSource{ Name: "Huobi", Info: TrayElement{ Content: "", }, ChildElements: make(map[string]TrayElement), }, HuobiCredentials{ // contains filtered or unexported fields }, }
View Source
var Manager = CryptoManager{}
View Source
var TronWallet = TronDataSource{ CryptoDataSource{ Name: "TRON Wallet", Info: TrayElement{ Content: "", }, ChildElements: make(map[string]TrayElement), }, TronCredentials{ // contains filtered or unexported fields }, }
Functions ¶
This section is empty.
Types ¶
type BalanceType ¶
func (BalanceType) Display ¶
func (b BalanceType) Display(item *systray.MenuItem, children ChildrenElementsType)
func (BalanceType) TotalFiat ¶
func (b BalanceType) TotalFiat() *money.Money
type BscCredentials ¶
type BscCredentials struct {
// contains filtered or unexported fields
}
type BscDataSource ¶
type BscDataSource struct { CryptoDataSource BscCredentials }
func (*BscDataSource) Collect ¶
func (t *BscDataSource) Collect()
func (*BscDataSource) Display ¶
func (t *BscDataSource) Display()
func (*BscDataSource) TotalFiat ¶
func (t *BscDataSource) TotalFiat() *money.Money
type ChildrenElementsType ¶
type ChildrenElementsType map[string]TrayElement
type CoinsCredentials ¶
type CoinsCredentials struct {
// contains filtered or unexported fields
}
type CoinsDataSource ¶
type CoinsDataSource struct { CryptoDataSource CoinsCredentials }
func (*CoinsDataSource) Collect ¶
func (h *CoinsDataSource) Collect()
func (*CoinsDataSource) Display ¶
func (h *CoinsDataSource) Display()
func (*CoinsDataSource) TotalFiat ¶
func (h *CoinsDataSource) TotalFiat() *money.Money
type Collectible ¶
type Collectible interface { Collect() TotalFiat() *money.Money Display() }
type CryptoDataSource ¶
type CryptoDataSource struct { Name string Balance BalanceType Info TrayElement ChildElements ChildrenElementsType }
type CryptoManager ¶
type CryptoManager struct {
// contains filtered or unexported fields
}
func (*CryptoManager) Collect ¶
func (m *CryptoManager) Collect()
type EthCredentials ¶
type EthCredentials struct {
// contains filtered or unexported fields
}
type EthDataSource ¶
type EthDataSource struct { CryptoDataSource EthCredentials }
func (*EthDataSource) Collect ¶
func (t *EthDataSource) Collect()
func (*EthDataSource) Display ¶
func (t *EthDataSource) Display()
func (*EthDataSource) TotalFiat ¶
func (t *EthDataSource) TotalFiat() *money.Money
type HuobiCredentials ¶
type HuobiCredentials struct {
// contains filtered or unexported fields
}
type HuobiDataSource ¶
type HuobiDataSource struct { CryptoDataSource HuobiCredentials }
func (*HuobiDataSource) Collect ¶
func (h *HuobiDataSource) Collect()
func (*HuobiDataSource) Display ¶
func (h *HuobiDataSource) Display()
func (*HuobiDataSource) TotalFiat ¶
func (h *HuobiDataSource) TotalFiat() *money.Money
type TrayElement ¶
type TronCredentials ¶
type TronCredentials struct {
// contains filtered or unexported fields
}
type TronDataSource ¶
type TronDataSource struct { CryptoDataSource TronCredentials }
func (*TronDataSource) Collect ¶
func (t *TronDataSource) Collect()
func (*TronDataSource) Display ¶
func (t *TronDataSource) Display()
func (*TronDataSource) TotalFiat ¶
func (t *TronDataSource) TotalFiat() *money.Money
type TronJson ¶
type TronJson struct { Tokens []TronTokenJson `json:"tokens"` TotalFrozen int32 `json:"totalFrozen"` }
type TronTokenJson ¶
Click to show internal directories.
Click to hide internal directories.