Versions in this module Expand all Collapse all v1 v1.1.4 Dec 3, 2019 v1.1.3 Sep 25, 2019 v1.1.2 Sep 18, 2019 v1.1.1 Sep 12, 2019 Changes in this version type Config + HardwareType uint8 type GlobalStats + PriceUsd string + VolumeUsd string type PoolData + MiningPorts struct{ ... } v0 v0.0.4 May 9, 2019 v0.0.3 Dec 15, 2018 Changes in this version type Config + XmrigAlgo string + XmrigVariant string v0.0.2 Dec 12, 2018 Changes in this version + type Announcement struct + Ann bool + Date time.Time + DateString string + ID int + Link string + Text string + type Config struct + APIEndpoint string + Address string + CoinAlgo string + CoinType string + Mid string + Miner miner.Config + PoolID int + type ElectronMessage struct + Data string + type GUI struct + func New(appName string, config *Config, asset bootstrap.Asset, ...) (*GUI, error) + func (gui *GUI) GetAnnouncement() (Announcement, error) + func (gui *GUI) GetCoinContentJson() (string, error) + func (gui *GUI) GetPool(id int) (PoolData, error) + func (gui *GUI) GetPoolList() ([]PoolData, error) + func (gui *GUI) GetPoolTemplate() (*template.Template, error) + func (gui *GUI) GetStats(poolID int, hashrate float64, mid string) (string, error) + func (gui *GUI) Run() error + func (gui *GUI) SaveConfig(config Config) error + type GlobalStats struct + Circulation string + CoinsPerDay string + Difficulty string + Hashrate string + Height string + LastBlock struct{ ... } + MarketCap string + Pool PoolData + PoolHTML string + Price string + Prices []struct{ ... } + Records struct{ ... } + Supply string + Ticker string + Volume string + Volumes []struct{ ... } + type PoolData struct + APIType string + Config string + DisplayInMiner int + Endpoint string + Fee string + Hashrate string + ID int + IsEnabled int + LastBlock string + LastUpdate string + Miners string + Name string + Payout string + Rank int + URL string