# Functions
CreateMiner creates a supported miner from the given configuration.
DetermineMinerType checks the given path for supported miners and returns the type of miner and path to the executable.
HumanizeHashrate returns the H/s, KH/s or MH/s representation of hashrate.
HumanizeTime turns seconds into minutes, hours, etc.
NewXmrig creates a new xmrig miner instance.
NewXmrStak creates a new xmr-stak miner instance.
# Variables
SupportedMiners contains a list of the currently supported miners.
# Structs
Base implements core functionality common to all miners.
Config holds miner specific configuration information.
ProcessingConfig holds the config for the miner's processing setup TODO: Right now this is only for CPU threads and will be extended into full CPU/GPU config.
Stats contains the miner statistics required by the front-end.
Xmrig implements the miner interface for the xmrig miner, including xmrig-amd and xmrig-nvidia https://github.com/xmrig/xmrig https://github.com/xmrig/xmrig-amd https://github.com/xmrig/xmrig-nvidia.
XmrigAPIConfig contains the Xmrig API config.
XmrigConfig is the config.json structure for Xmrig Generated with https://mholt.github.io/json-to-go/.
XmrigGPUConfig is the config.json structure for Xmrig's GPU Generated with https://mholt.github.io/json-to-go/.
XmrigPoolConfig contains the configuration for a pool in Xmrig.
XmrigResponse contains the data from xmrig API Generated with https://mholt.github.io/json-to-go/.
XmrStak implements the miner interface for the xmr-stak miner https://github.com/fireice-uk/xmr-stak.
XmrStakResponse contains the data from xmr-stak API Generated with https://mholt.github.io/json-to-go/.
# Interfaces
Miner defines the required behaviour to be implemented by a miner to work with the GUI.