Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MinerProfile ¶
type MinerProfile struct { CPU resource.Quantity `json:"cpu,omitempty"` Memory resource.Quantity `json:"memory,omitempty"` MiningDifficulty int `json:"miningDifficulty,omitempty"` }
MinerProfile represents the profile of a miner.
func GetMinerProfile ¶
func GetMinerProfile(key string) (*MinerProfile, bool)
GetMinerProfile retrieves a MinerProfile from the cache.
Click to show internal directories.
Click to hide internal directories.