claymore

package
v0.0.0-...-d92abce Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ObjectAsYAMLToString

func ObjectAsYAMLToString(obj interface{}) (retVal string)

func ParseString

func ParseString(RawData string) (retVal []types.MinerEntry, err error)

func SplitTable

func SplitTable(tableText string) (retVal map[string]types.MinerEntry)

Types

type ClaymoreManagerClient

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

func NewClaymoreManagerClient

func NewClaymoreManagerClient(logPar logs.Logger, settings types.Settings) (retVal *ClaymoreManagerClient)

func (ClaymoreManagerClient) CheckAndCompare

func (this ClaymoreManagerClient) CheckAndCompare() (res bool, reasons []string, err error)

func (ClaymoreManagerClient) CompareSetOfMiners

func (this ClaymoreManagerClient) CompareSetOfMiners(oldMiners map[string]types.MinerEntry, newMiners map[string]types.MinerEntry) (res bool, reasons []string, err error)

func (ClaymoreManagerClient) GetMinersData

func (this ClaymoreManagerClient) GetMinersData() (retVal map[string]types.MinerEntry, err error)

func (ClaymoreManagerClient) GetMinersDataAsString

func (this ClaymoreManagerClient) GetMinersDataAsString() (retVal string, err error)

func (ClaymoreManagerClient) LoadMinersFromFile

func (this ClaymoreManagerClient) LoadMinersFromFile(fileName string) (retVal map[string]types.MinerEntry, err error)

func (ClaymoreManagerClient) SaveMinersToFile

func (this ClaymoreManagerClient) SaveMinersToFile(filename string, miners map[string]types.MinerEntry) (err error)

Jump to

Keyboard shortcuts

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