Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var F, E, W, I, D, T logg.LevelPrinter = logg.GetLogPrinterSet(subsystem)
Functions ¶
This section is empty.
Types ¶
type Client ¶
func New ¶
func New(conn io.ReadWriteCloser) *Client
New creates a new client for a kopach_worker. Note that any kind of connection can be used here, other than the StdConn
func (*Client) NewJob ¶
NewJob is a delivery of a new job for the worker, this starts a miner note that since this implements net/rpc by default this is gob encoded
func (*Client) Pause ¶
Pause tells the worker to stop working, this is for when the controlling node is not current
Click to show internal directories.
Click to hide internal directories.