Documentation
¶
Index ¶
Constants ¶
View Source
const ( PlotRunning = iota PlotError PlotFinished )
View Source
const KB = uint64(1024)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivePlot ¶
type ActivePlot struct { PlotId int64 StartTime time.Time EndTime time.Time TargetDir string PlotDir string Fingerprint string Phase string Tail []string State int Id string // contains filtered or unexported fields }
func (*ActivePlot) CheckSpace ¶
func (ap *ActivePlot) CheckSpace() bool
func (*ActivePlot) RunPlot ¶
func (ap *ActivePlot) RunPlot()
func (*ActivePlot) String ¶
func (ap *ActivePlot) String(showLog bool) string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ProcessLoop ¶
type Msg ¶
type Msg struct { Actives []*ActivePlot Archived []*ActivePlot TempDirs map[string]uint64 TargetDirs map[string]uint64 }
type PlotConfig ¶
type PlotConfig struct { ConfigPath string CurrentConfig *Config LastMod time.Time Lock sync.RWMutex }
func (*PlotConfig) ProcessConfig ¶
func (pc *PlotConfig) ProcessConfig()
Click to show internal directories.
Click to hide internal directories.