Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Name ... Name = "cgminer" // FuncEntityAction ... FuncEntityAction = "entityAction" )
View Source
const ( // SettingHost ... SettingHost = "host" // SettingPort ... SettingPort = "port" // SettingTimeout ... SettingTimeout = "timeout" // SettingUser ... SettingUser = "user" // SettingPass ... SettingPass = "pass" // SettingManufacturer ... SettingManufacturer = "manufacturer" // SettingModel ... SettingModel = "model" // StateEnabled ... StateEnabled = "ENABLED" // StateDisabled ... StateDisabled = "DISABLED" // StateError ... StateError = "ERROR" // ActionEnabled ... ActionEnabled = "ENABLE" // ActionDisable ... ActionDisable = "DISABLE" // ActionCheck ... ActionCheck = "CHECK" Version = "0.0.1" )
Variables ¶
View Source
var F embed.FS
Functions ¶
Types ¶
type Actor ¶
type Actor struct { *supervisor.BaseActor // contains filtered or unexported fields }
Actor ...
func (*Actor) SetState ¶
func (e *Actor) SetState(params supervisor.EntityStateParams) error
SetState ...
type IMiner ¶
type IMiner interface { Stats() (data []byte, err error) Devs() (data []byte, err error) Summary() (data []byte, err error) Pools() (data []byte, err error) AddPool(url string) (err error) Version() (data []byte, err error) Enable(poolId int64) error Disable(poolId int64) error Delete(poolId int64) error SwitchPool(poolId int64) error Restart() error Quit() error Bind() interface{} }
IMiner ...
Click to show internal directories.
Click to hide internal directories.