console

package
v0.0.0-...-e287cc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountWithPowerRatio

type AccountWithPowerRatio struct {
	Account    *minerpool.Account
	PowerRatio float64
}

type MinerConsole

type MinerConsole struct {
	// contains filtered or unexported fields
}

func NewMinerConsole

func NewMinerConsole(cnf *MinerConsoleConfig) *MinerConsole

func (*MinerConsole) SetMiningPool

func (mc *MinerConsole) SetMiningPool(pool *minerpool.MinerPool)

func (*MinerConsole) Start

func (mc *MinerConsole) Start() error

type MinerConsoleConfig

type MinerConsoleConfig struct {
	HttpListenPort int
}

func NewEmptyMinerConsoleConfig

func NewEmptyMinerConsoleConfig() *MinerConsoleConfig

func NewMinerConsoleConfig

func NewMinerConsoleConfig(cnffile *sys.Inicnf) *MinerConsoleConfig

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL