Documentation ¶
Index ¶
- type Agent
- type CpuAgent
- type Plotter
- func (self *Plotter) ClearPlotData() error
- func (self *Plotter) CommitWork(start uint64, quantity uint64) (tid string, err error)
- func (self *Plotter) GetPlotDatalist() (list []string, err error)
- func (self *Plotter) GetPlotdataDir() string
- func (self *Plotter) GetSeed() common.Address
- func (self *Plotter) GetTaskIds() []string
- func (self *Plotter) GetTaskProgress(tid string) (rate int64, err error)
- func (self *Plotter) HavePlotData(addr common.Address) error
- func (self *Plotter) Ploting() bool
- func (self *Plotter) Register(agent Agent)
- func (self *Plotter) RemovePlotDataById(id string) (err error)
- func (self *Plotter) SetPlotdataDir(dir string)
- func (self *Plotter) SetSeed(addr common.Address)
- func (self *Plotter) Start()
- func (self *Plotter) Stop()
- func (self *Plotter) Unregister(agent Agent)
- type ProgressResult
- type Result
- type Work
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CpuAgent ¶
type CpuAgent struct {
// contains filtered or unexported fields
}
func NewCpuAgent ¶
func NewCpuAgent() *CpuAgent
func (*CpuAgent) SetReturnCh ¶
type Plotter ¶
type Plotter struct {
// contains filtered or unexported fields
}
func (*Plotter) ClearPlotData ¶
func (*Plotter) CommitWork ¶
func (*Plotter) GetPlotDatalist ¶
func (*Plotter) GetPlotdataDir ¶
func (*Plotter) GetTaskIds ¶
func (*Plotter) GetTaskProgress ¶
func (*Plotter) RemovePlotDataById ¶
func (*Plotter) SetPlotdataDir ¶
func (*Plotter) Unregister ¶
type ProgressResult ¶
type ProgressResult struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.